﻿
/* ========== FLATPICKR CALENDAR STYLING ========== */

/* Flatpickr wrapper */
.flatpickr-wrapper {
    position: relative;
    display: inline-block;
}

/* Calendar popup - base settings */
.flatpickr-calendar {
    width: auto !important;
    max-width: 280px !important;
    font-size: 13px !important;
}

    .flatpickr-calendar.inline {
        width: auto !important;
    }

/* Calendar icon styling */
.flatpickr-calendar-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
    line-height: 1;
}

    .flatpickr-calendar-icon:hover {
        opacity: 0.7;
    }

/* Input field padding for icon */
.flatpickr-wrapper input[data-input] {
    padding-right: 35px !important;
    box-sizing: border-box;
}

/* ========== MONTH/YEAR HEADER ========== */
.flatpickr-months {
    background: #4285f4 !important;
    height: 36px !important;
}

.flatpickr-current-month {
    font-size: 14px !important;
    height: 36px !important;
    line-height: 36px !important;
    padding: 6px 0 !important;
}

    /* Month dropdown */
    .flatpickr-current-month .flatpickr-monthDropdown-months {
        appearance: none;
        background: white;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 4px 25px 4px 8px;
        font-size: 13px;
        cursor: pointer;
        background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 5px center;
        background-size: 18px;
    }

    /* Year input */
    .flatpickr-current-month .numInputWrapper {
        background: white;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 2px;
        height: 28px !important;
    }

        .flatpickr-current-month .numInputWrapper input {
            font-size: 13px;
            padding: 4px;
            height: 28px !important;
        }

/* Arrow buttons */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 10px !important;
}

/* ========== WEEKDAY HEADERS ========== */
.flatpickr-weekday {
    font-size: 12px !important;
    height: 30px !important;
    line-height: 30px !important;
}

/* ========== DAY CELLS ========== */
.flatpickr-day {
    height: 34px !important;
    line-height: 34px !important;
    max-width: 34px !important;
    font-size: 13px !important;
}

    .flatpickr-day.selected {
        background: #4285f4 !important;
        border-color: #4285f4 !important;
    }

    .flatpickr-day.today {
        border-color: #4285f4 !important;
    }

    .flatpickr-day:hover {
        background: #e8f0fe !important;
    }

/* ========== DAYS CONTAINER ========== */
.flatpickr-days {
    width: 252px !important;
}

.dayContainer {
    width: 252px !important;
    min-width: 252px !important;
    max-width: 252px !important;
}

/* ========== INPUT FIELD STYLING ========== */
.calendar-input-default {
    width: 220px;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

    .calendar-input-default:focus {
        border-color: #4285f4;
    }

    .calendar-input-default:hover {
        border-color: #999;
    }

.calendar-required {
    border: 1px solid #135f8b !important;
}

    .calendar-required:focus {
        border-color: #135f8b !important;
        box-shadow: 0 0 0 3px rgba(19, 95, 139, 0.15) !important;
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .flatpickr-calendar {
        max-width: 260px !important;
    }

    .flatpickr-days {
        width: 238px !important;
    }

    .dayContainer {
        width: 238px !important;
        min-width: 238px !important;
        max-width: 238px !important;
    }
}

/* ========== MONTH/YEAR HEADER ========== */
.flatpickr-months {
    background: white !important; /* Change from blue to white */
    height: 25px !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 10px !important;
}

.flatpickr-current-month {
    font-size: 15px !important;
    height: 25px !important;
    line-height: 25px !important;
    padding: 0 !important;
    color: #333 !important;
    font-weight: 500 !important;
}

    /* Month dropdown - styled like the image */
    .flatpickr-current-month .flatpickr-monthDropdown-months {
        appearance: none;
        background: white;
        border: none !important;
        border-radius: 4px;
        padding: 4px 20px 4px 8px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        color: #333;
        background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 2px center;
        background-size: 16px;
    }

        .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
            background-color: #f5f5f5;
        }

    /* Year input - styled like the image */
    .flatpickr-current-month .numInputWrapper {
        background: white;
        border: none !important;
        border-radius: 4px;
        padding: 2px;
        height: 25px !important;
    }

        .flatpickr-current-month .numInputWrapper:hover {
            background-color: #f5f5f5;
        }

        .flatpickr-current-month .numInputWrapper input {
            font-size: 15px;
            font-weight: 500;
            padding: 4px 4px;
            height: 25px !important;
            color: #333;
            border: none !important;
        }

            .flatpickr-current-month .numInputWrapper input:hover {
                background: transparent;
            }

/* Arrow buttons - styled like the image */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    height: 25px !important;
    line-height: 25px !important;
    padding: 0 10px !important;
    color: #333 !important;
    fill: #333 !important;
    margin-top: 10px
}

    .flatpickr-months .flatpickr-prev-month:hover,
    .flatpickr-months .flatpickr-next-month:hover {
        color: #666 !important;
        background: #f5f5f5;
        border-radius: 4px;
    }

    .flatpickr-months .flatpickr-prev-month svg,
    .flatpickr-months .flatpickr-next-month svg {
        fill: #333 !important;
    }

/* Remove the arrow up/down from year input */
.flatpickr-current-month .numInputWrapper span {
    display: none;
}
.checkbox_container {
	background: white;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	text-align: center;
}

.checkbox_title {
	color: #333;
	margin-bottom: 30px;
	font-size: 24px;
}

.checkbox_wrapper {
	display: inline-block;
	margin: 20px;
}

.checkbox_switch {
	position: relative;
	width: 50px;
	height: 25px;
	background-color: #e9e9e9;
	border-radius: 25px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	border: 1px solid #dba523;
	outline: none;
}

	.checkbox_switch.checkbox_checked {
		background-color: #dba523;
	}

.checkbox_circle {
	position: absolute;
	top: 2px;
	left: 3px;
	width: 19px;
	height: 19px;
	background-color: white;
	border-radius: 50%;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.checkbox_switch.checkbox_checked .checkbox_circle {
	transform: translateX(25px);
}

.checkbox_switch:hover {
	box-shadow: 0 0 0 2px #dba52340;
}

.checkbox_switch.checkbox_checked:hover {
	box-shadow: 0 0 0 2px #dba52340;
}

.checkbox_switch:active .checkbox_circle {
	transform: scale(1.1) translateX(0);
}

.checkbox_switch.checkbox_checked:active .checkbox_circle {
	transform: scale(1.1) translateX(25px);
}

.checkbox_item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top:10px;
	margin-left:20px;
}

.checkbox_label {
	color: #333;
	font-weight: 500;
	font-size: 14px;
}

.checkbox_status {
	margin-top: 20px;
	padding: 10px;
	border-radius: 8px;
	background: #e3f2fd;
	color: #1565c0;
	font-size: 14px;
}

.dataTables_Table {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dataTables_wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
}

/* These are important to make the fixed header work */
.dataTables_scrollHead {
    overflow: visible !important;
}

.dataTables_scrollBody {
}

.dataTables_Table thead th {
    position: relative;
    background-color: #645b71 !important;
    color: #ffffff;
    z-index: 1;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.dt-column-title {
    font-weight: 500 !important;
    font-size: 12px !important;
}

.dt-scroll-body {
    font-size: 12px !important;
}


.dataTables_Table tfoot th {
    position: relative;
    background-color: #645b71 !important;
    color: #ffffff;
    z-index: 1;
}

button.btn-edit, button.btn-delete {
    padding: 5px 7px;
    margin-right: 3px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
}

button.btn-edit {
    background-color: #84738d;
}

    button.btn-edit:hover {
        background-color: #756180;
        box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35);
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }

button.btn-delete {
    background-color: #8d7385;
}


    button.btn-delete:hover {
        background-color: #7a526e;
        box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35);
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }
/*the header of the first action column*/
.dataTables_Table thead th.ui-state-default:first-child {
    border-left-width: 1px;
    border-top-left-radius: 5px;
    pointer-events: none; /* disables clicking */
    background-image: none !important; /* removes sort icon */
}

    .dataTables_Table thead th.ui-state-default:first-child span.dt-column-order {
        visibility: hidden; /*Hide sorting Icon (in the span of first header cell) from Action column*/
    }

/*the footer of the first action column*/
.dataTables_Table tfoot th.ui-state-default:first-child {
    border-left-width: 1px;
    border-bottom-left-radius: 5px;
}

.action-cell {
    border-left: 1px solid #ccc; /* left border example */
    background-color: #e6e2eb !important;
}




.department-Finance {
    color: white;
    background-color: #007bff; /* blue */
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.department-Operations {
    color: white;
    background-color: #28a745; /* green */
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.department-IT {
    color: black;
    background-color: #ffc107; /* yellow */
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.department-default {
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.dataTables_Table .dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.btn-advanced-filter-btn {
    margin-right: 15px;
    padding: 6px 12px;
    background-color: #645b71;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-advanced-filter-btn:hover {
        background-color: #5a5365;
        color: #ffffff;
        border: none;
        border-radius: 4px;
        box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35);
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }


/* Modern DataTable Header Styling - Default Classes */
.dataTable thead th {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6 !important;
    border-bottom: 2px solid #0e4182 !important;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

    /* Border radius for first column (top-left) */
    .dataTable thead th:first-child {
        border-top-left-radius: 8px;
    }

    /* Border radius for last column (top-right) */
    .dataTable thead th:last-child {
        border-top-right-radius: 8px;
    }

    /* Hover effect on sortable columns */
    .dataTable thead th.sorting:hover,
    .dataTable thead th.sorting_asc:hover,
    .dataTable thead th.sorting_desc:hover {
        background: linear-gradient(180deg, #e9ecef 0%, #dee2e6 100%);
        cursor: pointer;
    }

    /* Sorting indicators */
    .dataTable thead th.sorting_asc,
    .dataTable thead th.sorting_desc {
        background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 100%);
        color: #0e4182;
    }

/* Table body cells */
.dataTable tbody td {
    padding: 12px 16px;
    border: 1px solid #dee2e6 !important;
    font-size: 12px;
}

/* Alternating row colors */
.dataTable tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Row hover effect */
.dataTable tbody tr:hover {
    background-color: #e7f3ff;
}

/* Table wrapper */
.dataTables_wrapper {
    padding: 0;
}


 /*Standard config*/


/* Main table wrapper */
/*.dataTables_wrapper {
    position: relative;
    clear: both;
}*/

/* Table itself */
/*table.dataTable {
    width: 100%;
    margin: 0 auto;
    clear: both;
    border-collapse: separate;
    border-spacing: 0;
}*/

    /* Table header */
    /*table.dataTable thead th,
    table.dataTable thead td {
        padding: 10px 18px;
        border-bottom: 1px solid #111;
    }

    table.dataTable thead th {
        font-weight: bold;
    }*/

    /* Sorting icons */
    /*table.dataTable thead .sorting,
    table.dataTable thead .sorting_asc,
    table.dataTable thead .sorting_desc {
        cursor: pointer;
        position: relative;
    }

        table.dataTable thead .sorting:before,
        table.dataTable thead .sorting:after,
        table.dataTable thead .sorting_asc:before,
        table.dataTable thead .sorting_asc:after,
        table.dataTable thead .sorting_desc:before,
        table.dataTable thead .sorting_desc:after {
            position: absolute;
            display: block;
            opacity: 0.3;
        }*/

    /* Table body */
    /*table.dataTable tbody tr {
        background-color: #ffffff;
    }

        table.dataTable tbody tr.selected {
            background-color: #b0bed9;
        }

    table.dataTable tbody th,
    table.dataTable tbody td {
        padding: 8px 10px;
    }*/

    /* Hover effect */
    /*table.dataTable.hover tbody tr:hover,
    table.dataTable.display tbody tr:hover {
        background-color: #f6f6f6;
    }*/

    /* Striped rows */
    /*table.dataTable.stripe tbody tr.odd,
    table.dataTable.display tbody tr.odd {
        background-color: #f9f9f9;
    }

        table.dataTable.stripe tbody tr.odd.selected,
        table.dataTable.display tbody tr.odd.selected {
            background-color: #acbad4;
        }*/

    /* Row border */
    /*table.dataTable.row-border tbody th,
    table.dataTable.row-border tbody td,
    table.dataTable.display tbody th,
    table.dataTable.display tbody td {
        border-top: 1px solid #ddd;
    }*/

    /* Footer */
    /*table.dataTable tfoot th,
    table.dataTable tfoot td {
        padding: 10px 18px 6px 18px;
        border-top: 1px solid #111;
    }*/

/* Wrapper components */
/*.dataTables_length {
    float: left;
}

.dataTables_filter {
    float: right;
    text-align: right;
}

.dataTables_info {
    clear: both;
    float: left;
    padding-top: 0.755em;
}

.dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: 0.25em;
}*/

    /* Pagination */
    /*.dataTables_paginate .paginate_button {
        box-sizing: border-box;
        display: inline-block;
        min-width: 1.5em;
        padding: 0.5em 1em;
        margin-left: 2px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        color: #333;
        border: 1px solid transparent;
        border-radius: 2px;
    }

        .dataTables_paginate .paginate_button.current,
        .dataTables_paginate .paginate_button.current:hover {
            color: #333;
            border: 1px solid #979797;
            background-color: white;
            background: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%);
        }

        .dataTables_paginate .paginate_button.disabled,
        .dataTables_paginate .paginate_button.disabled:hover,
        .dataTables_paginate .paginate_button.disabled:active {
            cursor: default;
            color: #666;
            border: 1px solid transparent;
            background: transparent;
            box-shadow: none;
        }

        .dataTables_paginate .paginate_button:hover {
            color: white;
            border: 1px solid #111;
            background-color: #585858;
            background: linear-gradient(to bottom, #585858 0%, #111 100%);
        }

        .dataTables_paginate .paginate_button:active {
            outline: none;
            background-color: #2b2b2b;
            background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
            box-shadow: inset 0 0 3px #111;
        }*/

/* Processing indicator */
/*.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
    background-color: white;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
}*/

/* Scrolling */
/*.dataTables_scroll {
    clear: both;
}

.dataTables_scrollBody {
    overflow: auto;
}*/

/* Empty table message */
/*.dataTables_empty {
    text-align: center;
}*/

/* Input fields */
/*.dataTables_filter input,
.dataTables_length select {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    margin-left: 3px;
}*/
.select2-selection__clear {
    color: var(--color_Header_Search_IconAndText) !important;
    font-weight: bold;
    font-size: 18px;
}

.select2-search__field {
    box-sizing: border-box;
    border: #3A3A3A;
    border-radius: 6px;
    color: var(--color_Header_Search_IconAndText) !important;
    margin-left: -3px;
    background-color: #f1f1f1;
}

    .select2-search__field:focus {
        outline: none;
        border-color: var(--color_Header_Search_container_Selected) !important;
        transform: scale(0.99);
        transition: all 0.2s ease;
    }

.select2-search--dropdown {
    position: relative; /* needed for absolute positioning inside */
    width: 100%;
    border: none !important;
    box-shadow: none !important;
    padding-right: 25px; /* Adjust based on your icon size */
}

#select2_inputSearch_Icon {
    position: absolute;
    float: right;
    left: 360px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    user-select: none;
    z-index: 10; /* Add this */
}


#hiddenLanguageSelect + .select2-container {
    display: none !important;
}


/* header language dropdown container */
.header_LanguageDropdown {
    display: none; /* hidden before fadeIn */
    position: fixed;
    z-index: 9999;
    width: 170px;
    min-width: 100px;
    background-color: #ffffff !important;
    border: 2px solid #cccccc !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.6);
    padding: 6px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    margin-top: -10px;
    margin-left: 420px; /* Simply 100px from the right edge */
  
}

    .header_LanguageDropdown .select2-results__option {
        padding: 10px 14px;
        border-bottom: 1px solid #f1f1f1;
        transition: background-color 0.2s;
        cursor: pointer;
    }

    .header_LanguageDropdown .select2-results__option--highlighted {
        background-color: #f0f0f0;
        color: #333;
        font-weight: 500;
    }



#courseDetails_topBox_hiddenLanguageSelect + .select2-container {
    display: none !important;
}

/* header language dropdown container */
.courseDetails_LanguageDropdown {
    display: none; /* hidden before fadeIn */
    position: absolute;
    z-index: 9999;
    width: 135px;
    min-width: 100px;
    background-color: #ffffff !important;
    border: 2px solid #cccccc !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.6);
    border-top: none !important;
    padding: 6px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

    .courseDetails_LanguageDropdown .select2-results__option {
        padding: 10px 14px;
        border-bottom: 1px solid #f1f1f1;
        transition: background-color 0.2s;
        border-top: none !important;
        cursor: pointer;
    }

    .courseDetails_LanguageDropdown .select2-results__option--highlighted {
        background-color: #f0f0f0;
        color: #333;
        font-weight: 500;
    }

.select2-container--open {
    z-index: 99999 !important;
}

.select2-dropdown {
    z-index: 99999 !important;
}

.div_emptyBox {
	margin-top: 15px;
	display: flex;
	flex-direction: row;
	width: 700px;
	min-height: 60px;
	border-radius: 10px;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
	background-color: #F9FAFB;
	align-items: center;
}

.div_emptyBox_mobile {
	margin-top: 15px;
	display: flex;
	flex-direction: row;
	width: 99%;
	min-width: 360px;
	min-height: 60px;
	border-radius: 10px;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
	background-color: #F9FAFB;
	align-items: center;
}

.object_emptyBox_image {
	display: flex;
	justify-content: center;
}

.object_emptyBox_image_mobile {
	display: flex;
	justify-content: center;
	zoom:80%;
}

.object_emptyBox_textBox {
	
}


.object_emptyBox_text {
font-size: 22px;

}

.object_emptyBox_text_mobile {
	font-size: 15px;
}

.object_emptyBox_Subtext {
	font-size: 15px;
	color: #52525294;
}

.object_emptyBox_Subtext_mobile {
	font-size: 12px;
	color: #52525294;
}


.div_moduleCard_empty {
	background-color: #F9FAFB;
	display: flex;
	flex-direction: column;
}

.object_emptyBox_courseCard_text {
	font-size: 15px;
	color: #52525294;
	display: flex;
	width: 200px;
	text-align: center;
}

.object_emptyBox_courseCard_text_mobile {
	font-size: 13px;
	color: #52525294;
	display: flex;
	width: 200px;
	text-align: center;
}
.mainFooter_container {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	background-color: white; /* Add background to prevent content showing through */
	z-index: 1000; /* Ensure it stays on top */
	box-shadow: 0 -2px 4px rgba(0,0,0,0.1); /* Optional: add shadow */
}

.footer_Logo {
	grid-column: 2; /* Center column */
	text-align: center;
	margin-top: 0px;
}

.footer_Text {
	grid-column : 3;
	text-align: left;
	margin-top: 2px;
	margin-left: 15px;
}
.footer_Text_Copy {
	color: #808080;
}

.footer_Text_RGIS {
	font-weight:700;
	color:#800505;
}

.form-group {
	margin-bottom: 25px;
}

.form-field-label {
	text-align: left;
	display: block;
	margin-bottom: 5px;
	font-size: 16px;
	color: #5b6b75;
}

.form-input-container {
	position: relative;
}

input {
	width: 100%;
	padding: 8px;
	border: 1px solid #135f8b !important;
	border-radius: 4px;
	font-size: 16px;
	box-sizing: border-box;
}



.mainHeader_container {
	
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.mainHeader_mobile_container {
	display: flex;
	width: 94%;
	justify-content: space-between;
}
.mainHeader_TopMenu {
	display: flex;
	margin-top: 10px;
}

.mainHeader_Mobile_TopMenu {
	min-width: 92%;
	margin: 5px;
	display: flex;
	border-radius: 10px;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
	justify-content: flex-start;
	padding-left: 10px;
	flex-direction: row;
}
.Header-mobile-icon-topMenu {
	padding: 8px;
	margin-left: 3px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 23px;
	background-color: #f6f6f6;
	cursor: pointer;
	transition: background-color 0.2s;
	border: 1px solid #d8d8d8;
	margin-top: 14px;
	border-radius: 5px;
	max-width:25px;
	min-width:25px;
}

.header-item-active_mobile {
	color: white;
	background-color: darkgrey;
}


.header_Logo {

	margin-top: 5px;
	margin-left: 10px;
	margin-right: 20px;
}

.Header-nav-icons {
	display: flex;
	align-items: center;
	gap: 5px;
	background-color: white;
	border-radius: 8px;
	max-width: fit-content;
	margin-right: 20px;
}

.div_UserWelcome {
	font-size: 1.5rem;
	font-weight: 600;
	color: #124f72;
	margin-top: 22px;
	margin-left: 20px;
	display: inline-flex;
	position: fixed;
}

.header-Search-container-box {
display:flex;
gap:4px;
}

.Header-icon-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: #f0f2f5;
	cursor: pointer;
	transition: background-color 0.2s;
	border: 3px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

	.Header-icon-container:hover {
		background-color: #e4e6eb;
	}

.Header-icon-AdvancedSearch {
	padding-top: 11px;
	padding-left: 4px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 23px;
	background-color: #f0f2f5;
	cursor: pointer;
	transition: background-color 0.2s;
	border: 3px solid #fff;
	margin-top: 14px;
	border-top-right-radius: 40%;
	border-bottom-right-radius: 40%;
}

	.Header-icon-AdvancedSearch:hover {
		background-color: #e4e6eb;
	}
.Header-notification-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background-color: #9b001a;
	color: white;
	font-size: 12px;
	min-width: 17px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2px;
}

.Header-profile-pic {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	margin-top: 4px;
	cursor: pointer;
	border: 3px solid #e4e6eb;
}


.header-Search-container {
	position: relative;
	margin-top:16px;
}


.header-Search-icon {
	position: absolute;
	left: 6px;
	top: 8px;
	color: var(--color_Header_Search_IconAndText);
	height: 25px;
	width: 80px;
}

.header-Search-text {
	position: absolute;
	left: 24px;
	top: 0px;
	color: var(--color_Header_Search_IconAndText);
	width: 170px;
}

.header-Search-iconX {
	position: absolute;
	right: 0px;
	top: 10px;
	color: var(--color_Header_Search_IconAndText);
	height: 25px;
	width: 16px;
	cursor: pointer;
	font-weight: 900;
}


.header_inputSearch {
	border-radius:10px !important;
	color: var(--color_Header_Search_IconAndText) !important;
	background-color: var(--color_Header_Search_container);
	width: 220px;
	outline: none;
	border-color: #ffffff !important; /* Change to a different color */

}

	.header_inputSearch:focus {
		outline: none;
		border-color: var(--color_Header_Search_container_Selected) !important; /* Change to a different color */
		transform: scale(1.02); /* Slightly enlarge */
		transition: all 0.2s ease; /* Smooth transition */
	}





.header-menu-item {
	display: flex;
	align-items: center;
	text-decoration: none;
	border-radius: 5px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease;
	color: var(--color_Global_Text_Dark);
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
	height: 25px;
	padding: 3px;
	padding-right: 9px;
	font-size:13px;
}

	.header-menu-item:hover {
		color: var(--color_Global_Text_Dark);
		background-color: var(--color_Menu_button_hover);
	}


.header-menu-item-active {
	color: var(--color_Global_Text_Light);
	background-color: var(--color_Menu_button_Active);
}

	.header-menu-item-active:hover {
		color: var(--color_Global_Text_Light);
		background-color: var(--color_Menu_button_Active_hover);
	}


.header-menu-item span {
	margin-left: 10px;
	transition: opacity 0.2s ease-in-out;
}

.notification-counter {
	position: absolute;
	top: -8px;
	right: -8px;
	background-color: #ff4444;
	color: white;
	border-radius: 50%;
	min-width: 18px;
	height: 18px;
	font-size: 12px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 2px;
	box-sizing: border-box;
	z-index: 1
}



.HomeBox_SubTitle_CoursesTitle {
	display: flex;
	height: 59px;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 10px;
	vertical-align: top;
	width: 940px;
	justify-content: space-between;
	cursor: pointer;
}

.HomeBox_SubTitle_CoursesTitle_mobile {
	display: flex;
	flex-direction: column; /* Add this line */
	height: auto;
	margin-top: 15px;
	margin-left: 2px;
	margin-bottom: 20px;
	width: 92%;
	min-width: 355px;
	vertical-align: top;
	justify-content: flex-start;
	border-radius: 8px;
	border: 1px solid #cac9c9;
	padding: 5px;
	background-color: white;
}

.HomeBox_SubTitle_CategoriesGroupsTitle_mobile {
	display: flex;
	height: 40px;
	margin-top: 40px;
	margin-left: 1px;
	margin-bottom: 10px;
	width: 92%;
	min-width: 350px;
	gap: 25px;
	vertical-align: top;
	justify-content: flex-start;
	padding: 5px;
	background-color: white;
}

.HomeBox_SubTitle_CategoriesTitle_mobile {
	display: flex;
	height: 50px;
	margin-top: -5px;
	margin-left: -5px;
	margin-bottom: 10px;
	width: 50%;
	vertical-align: top;
	justify-content: flex-start;
	border-radius: 8px;
	border: 1px solid #cac9c9;
	padding: 5px;
	background-color: white;
}

.HomeBox_SubTitle_GroupsTitle_mobile {
	display: flex;
	height: 50px;
	margin-top: -5px;
	margin-left: -20px;
	margin-bottom: 10px;
	width: 50%;
	vertical-align: top;
	justify-content: flex-start;
	border-radius: 8px;
	border: 1px solid #cac9c9;
	padding: 5px;
	background-color: white;
}

.HomeBox_SubTitle_CategoriesGroups {
	
	background-color: #ffffff;
	display: flex;
	height: 60px;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	width: 100%;
	vertical-align: top;
}

.HomeBox_SubTitle_Text {
	text-align: left;
	font-size: large;
	font-weight: normal;
	font-size: 1.5rem;
	font-weight: 500;
	color: #3A3A3A;
	margin-top: 20px;
	margin-left: 5px;
	max-width: 200px;
	min-width: 200px;
	cursor: pointer;
}

.HomeBox_SubTitle_Text_mobile {
	text-align: left;
	font-size: large;
	font-weight: normal;
	font-size: 1.2rem;
	font-weight: 500;
	color: #3A3A3A;
	margin-top: 5px;
	margin-left: 5px;
	max-width: 200px;
	min-width: 200px;
	cursor: pointer;
}


.HomeBox_TotalCourses_Box {
	display: flex
}

.HomeBox_TotalCourses_Box_mobile {
	display: flex;
	zoom: 100%;
	margin-left: 5px;
	margin-top: -20px;
	width: 200px;
}

.HomeBox_TotalCourses_Text {
	font-size: 15px;
	margin-top: 14px;
}

.HomeBox_TotalGroups_Box_mobile {
	display: flex;
	zoom: 100%;
	top: -5px;
	text-align:initial;
	margin-left: -140px;
	margin-top: 5px;
	width: 350px;
}

.HomeBox_TotalCourses_Text_mobile {
	font-size: 13px;
	margin-top: 7px;
}

.HomeBox_TotalGroups_Text_mobile {
	font-size: 12px;
	margin-top: 23px;
	margin-left: -60px;
	color: #3A3A3A;
}

.HomeBox_ShowAll_Button {
	display: flex;
	flex-direction: row;
	align-items: center;
	color: #3A3A3A;
	padding: 7px 6px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.2s;
	margin-left: 14px;
	margin-top: 23px;
	border: 1px solid #cac9c9;
	width: fit-content;
	justify-content: space-around;
	margin-bottom: 8px;
}

.HomeBox_ShowAll_Button_icon {
	margin-top: 5px;
	margin-right: 2px;
}

.HomeBox_ShowAll_Button:hover {
	background-color: #3A3A3A;
	color: #FFFFFF;
}


.HomeBox_SubTitle_Text_gap {
	margin-left: 20px;
}

.HomeBox_GroupsCategories {
	background-color: #ffffff;
	display: flex;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	width: 100%;
	vertical-align: top;
}


.div_HomeBox_Group {
	width: 220px; /* Your fixed width */
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* 1 equal columns */
	margin-left: 0px;
	transition: opacity 0.4s ease;
	
}

	.div_HomeBox_Group-fade-out {
		opacity: 0;
	}


.div_HomeBox_Category {
	width: 600px; /* Your fixed width */
	display: grid;
	align-content: space-between;
	grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
	margin-left: 15px; /*gap between Group and Categories*/
	transition: opacity 0.4s ease;
	gap: 15px;
}

.HomeBox_PagingButtons {
	margin-top:18px;
	width: 90px; 
	display: flex;
	grid-template-columns: repeat(2, 1fr); 
	margin-left: 0px;

}

.HomeBox_PagingButtons_Button {
	padding-top: 6px;
	color: #A3A3A3;
	background-color: #ffffff;
	height: 35px;
	border: 1px solid rgb(183 183 183);
	border-radius: 10px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.2s;
	margin-left: 6px;
}

	.HomeBox_PagingButtons_Button:hover {
		border: 1px solid #808080;
		box-shadow: rgb(213 215 218 / 50%) 1px 1px 2px 1px;
		transition: border-color 0.3s ease;
	}

.HomeBox_menu-divider_mobile {
	height: 1px;
	background-color: var(--color_Menu_Divider);
	margin: 15px 0;
}




.div_moduleCard {
	width: 220px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: -3px 4px 7px 0px rgba(0, 0, 0, 0.1);
	background-color: white;
	border: 2px solid #e0e0e0;
	transition: border-color 0.3s ease;
	cursor: pointer;
}

	.div_moduleCard:hover {
		border-color: var(--color_CardBorder_color);
		border-width: 2px;
		box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
	}

.div_moduleCard_Mobile {
	width: 360px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: -3px 4px 7px 0px rgba(0, 0, 0, 0.1);
	background-color: white;
	border: 2px solid #e0e0e0;
	transition: border-color 0.3s ease;
	cursor: pointer;
	zoom:85%
}

.module-card-corseName {
	font-size: 15px;
	font-weight: 600;
	color: #3A3A3A;
	min-height: 55px;
	margin: 7px 13px 7px 13px;
}

.module-category-badge {
	background-color: #FAFAFA;
	border: 1px solid #E9EAEB;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 14px;
	color: #3A3A3A;
	margin: 5px 10px 10px 10px;
	text-align:center

}

.module-card-image-container {
	display: flex;
	justify-content: center;
}

.module-card-image {
	margin-top: 10px;
	width: 90%;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
	justify-content: center;
	display: flex;
}

.module-card-image-container_mobile {
	display: flex;
	justify-content: start;
}

.module-card-image_mobile {
	margin-top: 10px;
	width: 90%;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
	justify-content: center;
	display: flex;
	margin-left: 5px;
}

.module-card-topAbove-box {
	width: 200px;
	border-radius: 12px;
	overflow: hidden;
	background-color: white;
	border: 2px solid #e0e0e0;
	transition: border-color 0.3s ease;
	cursor: pointer;
	height: 30px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 8px;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.module-card-topAbove-box_Mobile {
	width: 340px;
	border-radius: 12px;
	overflow: hidden;
	background-color: white;
	border: 2px solid #e0e0e0;
	transition: border-color 0.3s ease;
	cursor: pointer;
	height: 30px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 8px;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.module-card-topAbove-Icon {
	margin-top: 5px;
}


.module-card-topAbove-Text {
	margin-top: 5px;
	margin-left: 10px;
	color: #3A3A3A;
}

.module-divider {
	height: 1px;
	background-color: var(--color_CardDivider_Light_color);
}

.div_modulesBox {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: flex-start;
	width: 800px; /* Your fixed width */
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
	margin-top: 20px;
	margin-left: 20px;
}

.div_modulesBox_Mobile {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	margin-top: 0px;
	width: 92%;
	grid-template-columns: repeat(1, 1fr); /* 1 column only */
	max-height: calc(100vh - 180px); /* adjust 200px based on your header/footer height */
	overflow-y: auto;
	overflow-x: hidden;
	margin-left: 0px;
}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0; /* This with left: 0 makes it full width */
	bottom: 0; /* This with top: 0 makes it full height */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #e5e9eb;
	font-family: 'Arial', sans-serif;
	overflow: hidden;
	z-index: 9999999;
	opacity:0.8;
}

.loader-container {
	text-align: center;
	position: relative;
}

.loader-text {
	font-size: 1.5rem;
	font-weight: bold;
	color: #3a4d62;
	margin-bottom: 2rem;
	letter-spacing: 2px;
	text-shadow: 0 2px 10px rgba(65, 105, 225, 0.3);
	animation: textPulse 2s ease-in-out infinite;
	margin-top: 10px;
}

@keyframes textPulse {
	0%, 100% {
		opacity: 0.4;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes dotBounce {
	0%, 80%, 100% {
		transform: scale(0.8);
		opacity: 0.5;
	}

	40% {
		transform: scale(1.2);
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.loader-text {
		font-size: 1.5rem;
		letter-spacing: 1px;
	}

	.spinner {
		width: 60px;
		height: 60px;
	}

	.progress-bar {
		width: 160px;
	}
}

.login_maincontent {
	margin-top: 50px;
	float: left;
	padding: 3px;
	transition: margin-left 0.3s ease;
	overflow: auto;
	display:flex;
}

.login_container-box {
	flex: 1;
	background-color: #ffffff;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	padding: 20px;
}

.login_container-box-Fields {
	min-width:330px;
}

.login_content {
	width: 100%;
	max-width: 400px;
}

.login_welcome-title {
	font-size: 32px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

.login_welcome-subtitle {
	color: #666;
	margin-bottom: 30px;
}

.login_form-group {
	margin-bottom: 20px;
}

	.login_form-group label {
		display: block;
		margin-bottom: 8px;
		color: #333;
		font-weight: 500;
	}

	.login_form-group input {
		width: 100%;
		padding: 12px;
		border: 1px solid #ddd;
		border-radius: 8px;
		font-size: 16px;
		background-color: #f9f9f9;
	}

		.login_form-group input:focus {
			outline: none;
			border-color: #4CAF50;
			background-color: white;
		}

.login_continue-btn {
	width: 100%;
	background-color: #8D2431;
	color: #FFFFFF;
	padding: 12px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 30px;
}

	.login_continue-btn:hover {
		background-color: #6c1f28;
	}

.login_terms-text {
	font-size: 12px;
	color: #666;
	text-align: center;
	margin-bottom: 30px;
}

	.login_terms-text a {
		color: #666;
		text-decoration: underline;
	}

.login_rgis-logo {
	text-align: left;
	margin-left: 0px;
}



.login_ImageContainer-box {
	position: relative;
	background: url(/Images/System/LoginPortal.png) center / cover;
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
	overflow: hidden;
	margin-top: 14px;
	margin-bottom: 44px;
	width: 450px;
	box-shadow: 0 0 16px 0px #110202ba;
	border-left: 3px solid #d9d9d9;
}

.login_values-overlay {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, rgb(0 0 0 / 46%) 50%, rgba(0, 0, 0, 0.8) 79.24%);
	justify-content: center;
	align-items: flex-end;
}

.login_value-Text {
	
	font-size: 28px;
	margin-bottom:40px;
	color: white;
	display: flex;
	margin-right: 10px;
}

/*#region password */

.login_password-container {
	position: relative;
	width: 100%;
}

.login_password-input {
	width: 100%;
	padding: 12px;
	padding-right: 45px; /* Space for the eye icon */
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	background-color: #f9f9f9;
}

.login_password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	user-select: none;
	padding: 5px;
	cursor: pointer;
}

	.login_password-toggle:hover {
		stroke: #333;
	}

.login_forgot-password {
	text-align: center;
	margin-top: 10px;
	font-size: 0.9em;
}

	.login_forgot-password a {
		color: #800000;
		text-decoration: none;
	}

		.login_forgot-password a:hover {
			text-decoration: underline;
		}

#login_form_forgotpassword_box .login_form-group {
	margin-top: 15px;
}

#login_form_forgotpassword_box input {
	width: 100%;
	padding: 10px;
	border-radius: 6px;
	border: 1px solid #ccc;
}
.login_forgot-password {
	text-align: right;
	margin-top: -10px;
	margin-bottom: 30px;
	font-size: 0.9em;
}

.login_forgot-password-link {
	float: right;
	font-size: 0.85em;
	margin-top: -20px; 
	margin-bottom: 4px;
	color: #800000;
	text-decoration: none;
	position: relative;
}

	.login_forgot-password-link:hover {
		text-decoration: underline;
	}



/*#endregion */


.login-pulse-text {
	animation: login-pulse 2s infinite;
}

@keyframes login-pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.25);
		opacity: 0.1;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}
body {
    margin: 0;   
    overflow-y: auto;
    overflow-x: auto;
    padding-bottom: 110px; /* Adjust based on your footer height */
}

@font-face {
    font-family: RGIS-LMS-Font;
    src: url('WebFonts/Roboto-Regular.ttf');
}

.div_mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
}


.div_mainFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color_Footer_container);
    z-index: 1000;
    height: 40px;
    border-top: 1px solid var(--colors-gray-light-mode-400, #A4A7AE)
}

.div_mainBottomSpace {
    position: relative;
    bottom: 0px;
    min-height: 200px;
}


.div_mainContainer {
    position:fixed;
    display: grid;   
    padding-left: 3px;
    padding-right: 13px;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.div_maincontent {
    margin-top: 50px;
    float: left;
    padding: 3px;
    transition: margin-left 0.3s ease;
    margin-left: 210px; /*when menu is open*/
    overflow: auto;
    overflow-x: hidden;
    margin-bottom: 50px;
}


#div_maincontent.expanded {
    margin-left: 70px; /* Same as collapsed sidebar width- class= .sidebar.collapsed */
}

.div_maincontent_courseViewer {
    margin-bottom: 5px;
    overflow: hidden;
}


.div_mainLogin {
    position: fixed;
    display: grid;
    padding-left: 3px;
    padding-right: 13px;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    width: 100%;
}


.span_noTabStop {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.generic_popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9997; /* Below the popup but above everything else including footer */
    pointer-events: auto;
}
.popup-hidden {
    display: none !important;
}

.generic_mobile_popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9997; /* Below the popup but above everything else including footer */
    pointer-events: auto;
}



::-webkit-scrollbar {
    width: 10px;
    background-color: #f7f7f742;
   
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    border-radius: 10px;
    border:1px solid #ccc;
}



.sidebar {
    position: fixed;
    left: 0;
    width: 200px;
    top: 72px;
    height: 100%;
    background-color: var(--color_Menu_sidebar);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    overflow: visible; /* Changed from hidden to visible */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 999;
}

    .sidebar.collapsed {
        width: 60px;
    }

.toggle-btn {
    position: absolute;
    top: -1px;
    right: -40px;
    width: 40px;
    height: 42px;
    background-color: var(--color_Menu_button);
    color: white;
    border-radius: 0% 50% 50% 0%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border: none;
    box-shadow: 0 0 10px #eaeaea;
}

.toggle-btn-open {
    position: absolute;
    top: -1px;
    right: -40px;
    width: 40px;
    height: 42px;
    background-color: var(--color_Menu_button);
    color: red;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border: none;
    box-shadow: 0 0 10px #eaeaea;
}


.sidebar .menu-content {
    overflow: hidden;
}

.menu-items {
    margin-top: 20px;
    padding: 0 7px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 5px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #ccc;
    transition: background-color 0.2s ease;
    font-size:13px;
}

.menu-item:hover {
    color: var(--color_Global_Text_Dark);
    background-color: var(--color_Menu_button_hover);
}

.menu-item-close {
    background-color: var(--color_Menu_button);
    border: 1px solid #ccc;   
}

.menu-item-open {
    background-color: var(--color_Menu_sidebar);
    border: 1px solid #FFFFFF;
}

.menu-item-active {
    
    color: var(--color_Global_Text_Light);
    background-color: var(--color_Menu_button_Active);
}

    .menu-item-active:hover {
        
        color: var(--color_Global_Text_Light);
        background-color: var(--color_Menu_button_Active_hover);
    }

    .menu-item-span-text {
        margin-left:8px;

    }

.menu-item span {
    transition: opacity 0.2s ease-in-out;
}

.menu-divider {
    height: 1px;
    background-color: var(--color_Menu_Divider);
    margin: 5px 0;
}

.menu-divider-dark {
    height: 1px;
    background-color: var(--color_Menu_Divider_Dark);
    margin: 5px 0;
}

.mobile_MainMenu {
    position: fixed;
    left: 0;
    width: 94%;
    min-width: 420px;
    top: 72px;
    height: 100%;
    background-color: var(--color_Menu_sidebar);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    overflow: visible; /* Changed from hidden to visible */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.Menu-icon-AdvancedSearch {
    padding-top: 11px;
    padding-left: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 23px;
    background-color: #f0f2f5;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 3px solid #fff;
    margin-top: 14px;
    border-top-right-radius: 40%;
    border-bottom-right-radius: 40%;
}

    .Menu-icon-AdvancedSearch:hover {
        background-color: #e4e6eb;
    }

.div_mobile_mainHeader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;

}


.div_mobile_mainFooter {
	position: fixed;
	bottom: 10px;
	left: 0;
	right: 0;
	background-color: var(--color_Footer_container);
	z-index: 1000;
	height: 40px;
	border-top: 1px solid var(--colors-gray-light-mode-400, #A4A7AE)
}

.div_mobile_maincontent {
	position: fixed;
	display: grid;
	height: 100%;
	padding-left: 5px;
	padding-right: 13px;
	flex-direction: column;
	overflow: auto;
}

.div_mobile_Login {
	width: 100%;
	height: 100%;
	overflow: auto;
	display: flex;
	flex-direction: row;
}

.div_mobile_mainCourseView {
	position: fixed !important;
	top: 0 !important;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999; /* Ensure it's on top of everything */
	display: flex;
	height: 100vh;
	height: 100dvh; /* Add this for iOS */
	padding-left: 5px;
	padding-right: 5px;
	flex-direction: column;
	width: 94%;
	min-width: 360px;
	overflow: unset;
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on all iOS */
	box-sizing: border-box;
	padding-bottom: 450px;
	transform: none !important;
}

.notification-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999 !important;
    isolation: isolate;
}

    .notification-popup-container:not(.hidden) {
        pointer-events: auto;
    }

.hidden {
    display: none !important;
}

/* Overlay */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
}

/* Popup - Updated to extend to bottom */
.notification-popup {
    position: fixed;
    top: 60px;
    right: 20px;
    bottom: 30px;
    width: 360px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.notification-popup_mobile {
    position: fixed;
    top: 60px;
    right: 20px;
    bottom: 100px;
    width: 260px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

/* Header */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f5f5f5;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    flex-shrink: 0;
}

    .notification-header button {
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }

.notification-header_mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    padding: 12px 16px;
    background-color: #f5f5f5;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    flex-shrink: 0;
}

    .notification-header_mobile button {
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }

/* Tabs - Updated to match photo design */
.notification-tabs {
    display: flex;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.notification-tab-button {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

    .notification-tab-button:hover {
        color: #333;
        background-color: #f9f9f9;
    }

    .notification-tab-button.active {
        color: #1976d2;
        border-bottom: 2px solid #1976d2;
        background-color: #fff;
        font-weight: 500;
    }

/* Notification items - Updated to match new design */
.notification-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
    padding-bottom: 22px;
}

.notification-item {
    border-left: 4px solid #4caf50;
    background-color: #f9f9f9;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}


    .notification-item .category {
        font-size: 11px;
        color: #666;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .notification-item .category::before {
            content: '';
            width: 8px;
            height: 8px;
            background-color: #4caf50;
            border-radius: 50%;
        }

    .notification-item .title {
        font-weight: bold;
        margin-bottom: 4px;
        font-size: 14px;
        color: #333;
        line-height: 1.3;
    }

    .notification-item .date {
        font-size: 12px;
        color: #999;
    }

    /* Different colors for different notification types */
    .notification-item.new-course {
        border-left-color: #4caf50;
    }

        .notification-item.new-course .category::before {
            background-color: #4caf50;
        }

    .notification-item.new-group {
        border-left-color: #2196f3;
    }

        .notification-item.new-group .category::before {
            background-color: #2196f3;
        }

    .notification-item.assignment-passed {
        border-left-color: #2e7d32;
    }

        .notification-item.assignment-passed .category::before {
            background-color: #2e7d32;
        }

    .notification-item.assignment-failed {
        border-left-color: #f44336;
    }

        .notification-item.assignment-failed .category::before {
            background-color: #f44336;
        }

    /* Default gray for unmatched categories */
    .notification-item.default {
        border-left-color: #9e9e9e;
    }

        .notification-item.default .category::before {
            background-color: #9e9e9e;
        }

.notification-hidden {
    display: none;
}


/* notification-mark All Read Container */
.notification-mark-all-container {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    display: none; /* Hidden by default, shown only on Recent tab */
}

.notification-mark-all-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s;
}

    .notification-mark-all-btn:hover {
        background: #0056b3;
    }

    .notification-mark-all-btn:active {
        transform: translateY(1px);
    }

/* Enhanced Notification Items */
.notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

    .notification-item:hover {
        background-color: #f8f9fa;
    }

.notification-content {
    flex: 1;
}


/* notification-mark as Read Button */
.notification-mark-read-btn {
    background: #28a745;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
    position: relative;
}

    .notification-mark-read-btn:hover {
        background: #218838;
        transform: scale(1.1);
    }

    .notification-mark-read-btn:active {
        transform: scale(0.95);
    }

    /* Tooltip for notification-mark as Read Button */
    .notification-mark-read-btn .notification-tooltip {
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #333;
        color: white;
        padding: 6px 8px;
        border-radius: 4px;
        font-size: 11px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s;
        pointer-events: none;
        z-index: 1000;
        margin-bottom: 5px;
    }

        .notification-mark-read-btn .notification-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid transparent;
            border-top-color: #333;
        }

    .notification-mark-read-btn:hover .notification-tooltip {
        opacity: 1;
        visibility: visible;
    }

/* Read notifications styling */
.notification-item.read {
    opacity: 0.7;
}

    .notification-item.read .title {
        color: #666;
    }

/* Notification type colors */
/*.notification-item.new-course .category {
    color: #007bff;
}

.notification-item.new-group .category {
    color: #28a745;
}

.notification-item.assignment-passed .category {
    color: #28a745;
}

.notification-item.assignment-failed .category {
    color: #dc3545;
}

.notification-item.default .category {
    color: #6c757d;
}*/

/* Responsive adjustments */
@media (max-width: 480px) {
    .notification-item {
        padding: 10px 15px;
    }

    .notification-mark-read-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .notification-mark-all-btn {
        width: 100%;
        padding: 10px;
    }
}


.pageContent {
	flex-grow: 1;
	margin-top: 40px;
	width: 100%;
	height: calc(100vh - 92px);
	display: flex;
	width: calc(100vw);
	flex-direction: column;
}


.div_PageHeader {

	background-color:#f1f1f1;
	display: inline-block;
	height: 60px;	
	margin-top: -22px;	
	margin-left: -5px;
	margin-bottom: 20px;
	width: 100%;
	vertical-align:top;
}

.div_PageHeader_Text {
	text-align: left;
	font-size: xx-large;
	font-weight: bolder;
	font-size: 1.2rem;
	font-weight: 700;
	color: #3A3A3A;
	margin-top: 20px;
	margin-left: 10px;
	padding-bottom: 20px;
}

.div_PageHeader_mobile {
/*	background-color: #f1f1f1;*/
	display: inline-block;
	height: 60px;
	margin-top: 10px;
	margin-left: 0px;
	margin-bottom: 20px;
	width: 100%;
	vertical-align: top;
}

.div_PageHeader_Version {
	color: darkgray;
	float: right;
	line-height: 60px;
	margin-right: 250px;
	font-weight: normal;
	font-size: 0.9rem;
	font-weight: 500;
}

.PolicyBox_SubTitle {
    background-color: #ffffff;
    display: flex;
    height: 60px;
    font-weight: bold;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    width: 100%;
    vertical-align: top;
}

.PolicyBox_SubTitle_mobile {
    background-color: #ffffff;
    display: flex;
    height: 60px;
    font-weight: bold;
    margin-top: 25px;
    margin-left: 0px;
    margin-bottom: 0px;
    width: 100%;
    vertical-align: top;
}

.PolicyBox_SubTitle_Text {
    text-align: left;
    font-size: large;
    font-weight: normal;
    font-size: 1.5rem;
    font-weight: 500;
    color: #3A3A3A;
    margin-top: 20px;
    margin-left: 5px;
    max-width: 315px;
    min-width: 215px;
}


.PolicyBox_SubTitle_Text_gap {
    margin-left: 20px;
}

.div_PolicyBox {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    width: 1000px; /* Your fixed width */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
}

.div_PolicyLoginBox {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    width: 1000px; /* Your fixed width */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 equal columns */
    overflow: hidden; /* Clear floats */
    margin-right: 40px;
}

.PolicyBox_content {
    display: flex;
    flex-direction: column;
}

.Policy_Details_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.PolicyBox_ContentBox {
    display: flex;
    margin-left: 0px;
    border-radius: 7px;
    margin-top: 25px;
    margin-bottom: 30px;
    border: 2px solid #ccc;
    width: 936px;
    height: 650px; /* Set a fixed height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.PolicyBox_ContentBox_mobile {
    display: flex;
    margin-left: 0px;
    border-radius: 7px;
    margin-top: 25px;
    margin-bottom: 30px;
    border: 2px solid #ccc;
    width: 94%;
    min-width:280px;
    height: 650px; /* Set a fixed height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.PolicyLoginBox_ContentBox {
    display: flex;
    margin-left: 0px;
    margin-top: 25px;
    margin-bottom: 20px;
    width: 936px;
    height: 950px; /* Set a fixed height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.PolicyLoginBox_ContentBox_mobile {
    display: flex;
    margin-left: 0px;
    margin-top: 25px;
    margin-bottom: 20px;
    width: 94%;
    min-width: 350px;
    height: 100%; /* Set a fixed height */
    overflow-y: auto; 
}


.PolicyBox_FieldRow {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 10px;
    width: 600px
}

.PolicyBox_FieldLabel {
    width: 200px;
    font-weight: 500;
    color: #333;
}

.PolicyBox_FieldInput {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.PolicyBox_divider {
    height: 1px !important;
    background-color: var(--color_CardDivider_Light_color);
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%
}

.Policy_Header_LeftBox {
    display: flex;
    flex-direction: row;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 26px;
    height: 28px;
    overflow: hidden; /* Ensures children don't spill out */
}

.PolicyBox_Header_Button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A3A3A;
    padding: 0 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    border-right: 1px solid #ccc;
    height: 110%; /* makes it match parent height */
    margin: 0; /* remove vertical margin */
    margin-left: 0 !important
}

    .PolicyBox_Header_Button:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .PolicyBox_Header_Button:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        border-right: none;
    }

    .PolicyBox_Header_Button:hover {
        color: #808080;
    }

.PolicyBox_Header_SelectedButton {
    background-color: #f3f2f2;
    height: 110%;
    margin-right: -5px;
    margin-left: -10px !important;
    padding-left: 15px
}

    .PolicyBox_Header_SelectedButton:hover {
        color: #3A3A3A;
    }


.policy-container {
    width: 100%;
    background: #fff;
    padding: 30px;
    line-height: 1.6;
    color: #333;
}

.policy-section {
    margin-bottom: 50px;
}

    .policy-section:last-child {
        margin-bottom: 0;
    }

    .policy-section h2 {
        color: #0f1010;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid #a3a7ab;
        font-size: 28px;
        font-weight: 600;
    }

    .policy-section h3 {
        color: #0f1010;
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 20px;
        font-weight: 600;
    }

    .policy-section h4 {
        color: #34495e;
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 600;
    }

    .policy-section p {
        margin-bottom: 15px;
        font-size: 15px;
    }

    .policy-section ul {
        margin-bottom: 15px;
        padding-left: 20px;
    }

    .policy-section li {
        margin-bottom: 8px;
        font-size: 15px;
    }

@media (max-width: 768px) {
    .policy-container {
        padding: 20px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 18px;
    }
}


.policy_Login_Language {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    grid-column: 3;
    justify-self: end;
    gap: 20px;
    overflow: hidden; /* Clear floats */
    margin-right: 100px;
    margin-top: 10px;
}

.policy_Login_Language_mobile {
    width: 94%;
    min-width: 360px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    grid-column: 2;
    justify-self: end;
    gap:20px;
    overflow: hidden; /* Clear floats */
    margin-right: 40px;
    margin-top: 10px;
}

.policy_Login_topBox {
    display: flex;
    flex-direction: column;
    width: 1000px;
    height: 460px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
    margin-top: 15px;
}

.PolicyLoginBox_Content_mobile {
    display: flex;
    flex-direction: column;
    width: 50%;
    min-width: 150px;
    height: 460px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
    margin-top: 15px;
}

.ProfileBox_SubTitle {
	background-color: #ffffff;
	display: flex;
	height: 60px;
	font-weight: bold;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	width: 360px;
	vertical-align: top;
}


.ProfileBox_SubTitle_mobile {
	background-color: #ffffff;
	display: flex;
	font-weight: bold;
	margin-top: 30px;
	margin-left: 20px;
	margin-bottom: 0px;
	width: 360px;
	vertical-align: top;
}

.ProfileBox_SubTitle_Text {
	text-align: left;
	font-size: large;
	font-weight: normal;
	font-size: 1.5rem;
	font-weight: 500;
	color: #3A3A3A;
	margin-top: 20px;
	margin-left: 5px;
	max-width: 215px;
	min-width: 215px;
}

.ProfileBox_SubTitle_Text_mobile {
	text-align: left;
	font-size: 18px;
	font-weight: 500;
	color: #222;
	margin-top: 15px;
	margin-left: 5px;
	max-width: 215px;
	min-width: 215px;
}


.ProfileBox_SubTitle_Text_gap {
	margin-left: 20px;
}

.div_ProfileBox {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: flex-start;
	width: 1000px; /* Your fixed width */
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
}

.div_ProfileBox_mobile {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: flex-start;
	width: 360px; /* Your fixed width */
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* only 1 column */
}

.ProfileBox_content {
	display: flex;
	flex-direction: column;
}

.ProfileBox_content_mobile {
	display: flex;
	flex-direction: column;
	width: 360px;
	margin-left: 30px;
}

.Profile_HeaderBox {
	margin-top: 15px;
	display: flex;
	flex-direction: column;
	width: 936px;
	min-height: 50px;
	border-radius: 10px;
	border: 1px solid #ccc;
	background-color: ButtonFace;
	box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
}

.Profile_HeaderItems {
	display: flex;
	justify-content: space-between;
}

.Profile_Header_LeftBox {
	display: flex;
	flex-direction: row;
	background-color: none;
	border: none;
}

.ProfileBox_Header_Button {
	display: flex;
	flex-direction: row;
	align-items: center;
	color: #808080;
	padding: 7px 12px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.2s;
	margin-left: 15px;
	margin-top: 6px;
	border: none;
	background-color: none;
}

	.ProfileBox_Header_Button:hover {
		color: #000000;
	}

.ProfileBox_Header_SelectedButton {
	border: 1px solid #3A3A3A;
	color: #3A3A3A;
}

	.ProfileBox_Header_SelectedButton:hover {
		border: 1px solid #3A3A3A;
		color: #3A3A3A;
	}


.ProfileBox_UserName {
	color: #920000;
	margin-top: 30px;
	margin-right: 7px;
	font-size: 20px;
	font-weight: bold
}

.ProfileBox_UserName_mobile {
	color: #920000;
	margin-top: 30px;
	margin-right: 7px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.ProfileBox_EmployeeAvatarBox {
	display: flex;
	margin-right: 0px;
	min-height: 20px;
	border-radius: 7px;
	margin-top: 15px;
	width: 840px;
	border: 1px solid #ccc;
}

.ProfileBox_EmployeeAvatarBox_mobile {
	display: flex;
	margin-right: 0px;
	min-height: 20px;
	border-radius: 7px;
	margin-top: 15px;
	width: 360px;
	border: 1px solid #ccc;
}

.ProfileBox_EmployeeAvatarImage {
	display: flex;
	margin-right: 0px;
	align-items: center;
	justify-content: center;
	padding: 10px;
	font-size: 16px;
	min-height: 20px;
	border-radius: 7px 0 0 7px;
	margin-top: 0px;
	background-color: #ccc;
	width: 200px
}


.ProfileBox_UploadBox {
	padding: 20px;
	text-align: center;
	cursor: pointer;
	border-radius: 8px;
	margin-top: 10px;
	left: 20px;
}

.ProfileBox_UploadBox_Icon {
	font-size: 24px;
	margin-bottom: 8px;
}

.ProfileBox_UploadBox_Text {
	color: #666;
	font-size: 14px;
}

.ProfileBox_UploadArea {
	margin: 15px; /* shorthand for all four sides */
	border: 1px solid #ccc;
	border-radius: 7px;
	min-height: 10px;
	width: calc(100% - 40px);
	box-sizing: border-box;
	padding: 5px;
}

.ProfileBox_UploadArea_mobile {
	margin: 15px; /* shorthand for all four sides */
	border: 1px solid #ccc;
	border-radius: 7px;
	min-height: 10px;
	width: calc(100% - 40px);
	box-sizing: border-box;
	padding: 5px;
	align-self: center;
}

.ProfileBox_FieldRow {
	display: flex;
	align-items: center;
	margin: 8px 0;
	gap: 10px;
	width: 600px
}

.ProfileBox_FieldLabel {
	width: 200px;
	font-weight: 500;
	color: #333;
}

.ProfileBox_FieldInput {
	flex: 1;
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	width: 200px;
}

.ProfileBox_FieldDropdown {
	flex: 1;
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	width: 200px;
	margin-left: 80px
}

.ProfileBox_FieldInput_Disabled {
	background-color: #f0f0f0;
	border: 1px solid #ccc !important;
	color: #666;
	cursor: not-allowed;
	border-radius: 4px;
	width: 200px
}

.ProfileBox_FieldRow .select2-container {
	margin-left: 70px !important;
}

.ProfileBox_divider {
	height: 1px !important;
	background-color: var(--color_CardDivider_Light_color);
	margin-top: 10px;
	margin-bottom: 10px;
	width: 90%
}

.ProfileBox_profile_pic {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	margin-top: 4px;
	cursor: pointer;
	border: 3px solid #e4e6eb;
}

.ProfileBox_profile_pic_mobile {
	width: 150px;
	height: 150px;
	border-radius: 7px;
	object-fit: cover;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	margin-top: 15px;
	cursor: pointer;
	border: 3px solid #e4e6eb;
	align-self: center ;
}
/* Skeleton Styles */
.image-wrapper-skeleton {
    position: relative;
}

.skeleton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75% );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    z-index: 2;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.lazy-image {
    opacity: 0;
    display: block;
}

    .lazy-image.loaded {
        opacity: 1;
        animation: fade-in 0.3s ease-in;
    }

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.support_popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .support_popup-overlay.show {
        visibility: visible;
        opacity: 1;
    }

.support_popup-content {
    position: fixed;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.support_popup-overlay.show .support_popup-content {
    transform: scale(1);
}

/* Close Button */
.support_popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px; /* Add some padding for better click area */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    z-index: 10000; /* Ensure it's above other elements */
}

    .support_popup-close:hover {
        background-color: #f0f0f0;
        color: #333;
    }

/* Header */
.support_popup-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

    .support_popup-header h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        color: #333;
        line-height: 1.2;
    }

    .support_popup-header .support_info-icon {
        display: inline-block;
        margin-right: 15px;
        margin-left: -15px;
        margin-top: -15px;
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.3);
        width: 10px;
        height: 10px;
        padding: 10px;
        padding-right: 20px;
        padding-bottom: 20px;
        color: white;
        text-align: center;
        line-height: 30px;
        font-size: 10px;
    }

/* Body */
.support_popup-body {
    padding: 30px;
    text-align: center;
}

    .support_popup-body p {
        margin: 0 0 30px 0;
        color: #666;
        font-size: 16px;
        line-height: 1.5;
    }

.support_email-container {
    background-color: #ffffff;
    border: 2px solid #666;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}


.support_email-address {
    color: #781616;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

    .support_email-address:hover {
        text-decoration: underline;
    }

/* Footer Button */
.support_popup-footer {
    padding: 0 30px 30px;
    text-align: right; /* Changed from center to right */
}

.support_close-btn {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text */
    border: 1px solid #d1d5db; /* Light gray border */
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .support_close-btn:hover {
        background-color: #f9fafb; /* Very light gray on hover */
        border-color: #9ca3af; /* Slightly darker border on hover */
    }


/* Tooltip Styles */
.tooltip-container {
	position: relative;
}

.tooltip {
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #3A3A3A;
	color: white;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 14px;
	white-space: nowrap;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s, visibility 0.3s;
	z-index: 100;
}

	.tooltip::before {
		content: '';
		position: absolute;
		top: -5px;
		left: 50%;
		transform: translateX(-50%);
		border-width: 0 6px 6px 6px;
		border-style: solid;
		border-color: transparent transparent #3A3A3A transparent;
	}

.tooltip-container:hover .tooltip {
	visibility: visible;
	opacity: 1;
}

:root {
	
	/*style_global colors*/
	--color_Global_Text_Dark: #484848;
	--color_Global_Text_Light: #f8f8f8;
	--color_Global_Text_gray: #d2d3d5;
	
}

:root {
	/*style_menu colors*/
	--color_Menu_sidebar: #ffffff;
	--color_Menu_button: #FAFAFA;
	--color_Menu_button_hover: #dddddd;
	--color_Menu_button_Active: #414042;
	--color_Menu_button_Active_hover: #585858;
	--color_Menu_button_Icon_Stroke: #3A3A3A;
	--color_Menu_button_Icon_Stroke_Selected: #f6f5f5;
	--color_Menu_button_Icon_Stroke_Logout: #B54708;
	--color_Menu_Divider: #e5e5e5;
	--color_Menu_Divider_Dark: #3A3A3A;
	--color_Menu_Divider_Light: #ffffff; /*on closed menu it will not be shown*/
}

:root {
	/*style_hader colors*/

	--color_Header_Search_container: #f1f1f1;
	--color_Header_Search_container_Selected: #3A3A3A;
	--color_Header_Search_IconAndText: #A4A7AE;
}

:root {
	/*style_Footer colors*/

	--color_Footer_container: #f5f5f5;

}


:root {
	/*style_Card colors*/
	--color_CardDivider_Light_color: #d4d4d4;
	--color_CardDivider_Dark_color: #3A3A3A;
	--color_CardBorder_color: #787676;
	--color_CardIcon_Stroke: #585858;
	--color_CardIcon_PagingButton_Stroke :#A4A7AE;
}
.DaysOffBox_SubTitle {
    background-color: #ffffff;
    display: flex;
    height: 60px;
    font-weight: bold;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    width: 936px;
    vertical-align: top;
}


.DaysOffBox_SubTitle_mobile {
    background-color: #ffffff;
    display: flex;
    font-weight: bold;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    width: 360px;
    vertical-align: top;
}

.DaysOffBox_SubTitle_Text {
    text-align: left;
    font-size: large;
    font-weight: normal;
    font-size: 1.2rem;
    font-weight: 500;
    color: #3A3A3A;
    margin-top: 10px;
    margin-left: 5px;
    max-width: 936px;
    min-width: 936px;
}

.DaysOffBox_SubTitle_Text_mobile {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-top: 15px;
    margin-left: 5px;
    max-width: 360px;
    min-width: 360px;
}


.DaysOffBox_SubTitle_Text_gap {
    margin-left: 20px;
}

.div_DaysOffBox {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    width: 1000px; /* Your fixed width */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    overflow: auto;
}

.div_DaysOffBox_mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    width: 360px; /* Your fixed width */
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* only 1 column */
}

.DaysOffBox_content {
    display: flex;
    flex-direction: column;
    margin-left: 2px;
    margin-top: 15px;
}

.DaysOffBox_content_mobile {
    display: flex;
    flex-direction: column;
    width: 360px;
}

.DaysOff_HeaderBox {
    margin-top: -18px;
    display: flex;
    flex-direction: column;
    width: fit-content;
    min-height: 30px;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: ButtonFace;
    box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
}

.DaysOff_HeaderBox_Container {
    display: flex;
    flex-direction: row;
    gap: 10px; /* Optional: space between the two boxes */
    align-items: flex-start;

}

.DaysOff_HeaderBox_Container_mobile {
    display: flex;
    flex-direction: row;
    gap: 10px; /* Optional: space between the two boxes */
    align-items: flex-start;
    zoom: 70%
}

.DaysOff_HeaderBox_SeparatedButtons {
    position: relative;
    margin-top: -18px;
    display: flex;
    flex-direction: column;
    width: fit-content;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: ButtonFace;
    box-shadow: 0px 0px 7px 3px rgb(14 65 130 / 11%);
    padding-right: 5px;
    min-height: 30px;
    max-height: 60px; /* Add this to prevent growth */
}

.DaysOff_HeaderItems {
    display: flex;
    justify-content: space-between;
}

.DaysOff_Header_LeftBox {
    display: flex;
    flex-direction: row;
    background-color: none;
    border: none;
}

.DaysOffBox_Header_Button {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #808080;
    padding: 7px 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
    margin-left: 1px;
    margin-top: 3px;
    border: none;
    background-color: none;
}

    .DaysOffBox_Header_Button:hover {
        color: #000000;
    }

.DaysOffBox_Header_SelectedButton {
    border: 1px solid #3A3A3A;
    color: #3A3A3A;
}

    .DaysOffBox_Header_SelectedButton:hover {
        border: 1px solid #3A3A3A;
        color: #3A3A3A;
    }


.DaysOffBox_UserName {
    color: #920000;
    margin-top: 30px;
    margin-right: 7px;
    font-size: 20px;
    font-weight: bold
}

.DaysOffBox_UserName_mobile {
    color: #920000;
    margin-top: 30px;
    margin-right: 7px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.DaysOffBox_EmployeeAvatarBox {
    display: flex;
    margin-right: 0px;
    min-height: 20px;
    border-radius: 7px;
    margin-top: 15px;
    width: 840px;
    border: 1px solid #ccc;
}

.DaysOffBox_EmployeeAvatarBox_mobile {
    display: flex;
    margin-right: 0px;
    min-height: 20px;
    border-radius: 7px;
    margin-top: 15px;
    width: 360px;
    border: 1px solid #ccc;
}

.DaysOffBox_EmployeeAvatarImage {
    display: flex;
    margin-right: 0px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 16px;
    min-height: 20px;
    border-radius: 7px 0 0 7px;
    margin-top: 0px;
    background-color: #ccc;
    width: 200px
}


.DaysOffBox_UploadBox {
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 10px;
    left: 20px;
}

.DaysOffBox_UploadBox_Icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.DaysOffBox_UploadBox_Text {
    color: #666;
    font-size: 14px;
}

.DaysOffBox_UploadArea {
    margin: 15px; /* shorthand for all four sides */
    border: 1px solid #ccc;
    border-radius: 7px;
    min-height: 10px;
    width: calc(100% - 40px);
    box-sizing: border-box;
    padding: 5px;
}

.DaysOffBox_UploadArea_mobile {
    margin: 15px; /* shorthand for all four sides */
    border: 1px solid #ccc;
    border-radius: 7px;
    min-height: 10px;
    width: calc(100% - 40px);
    box-sizing: border-box;
    padding: 5px;
    align-self: center;
}

.DaysOffBox_FieldRow {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 10px;
    width: 600px
}

.DaysOffBox_FieldLabel {
    width: 200px;
    font-weight: 500;
    color: #333;
}

.DaysOffBox_FieldInput {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.DaysOffBox_FieldDropdown {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
    margin-left: 80px
}

.DaysOffBox_FieldInput_Disabled {
    background-color: #f0f0f0;
    border: 1px solid #ccc !important;
    color: #666;
    cursor: not-allowed;
    border-radius: 4px;
    width: 200px
}

.DaysOffBox_FieldRow .select2-container {
    margin-left: 70px !important;
}

.DaysOffBox_divider {
    height: 1px !important;
    background-color: var(--color_CardDivider_Light_color);
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%
}

.DaysOffBox_DaysOff_pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin-top: 4px;
    cursor: pointer;
    border: 3px solid #e4e6eb;
}

.DaysOffBox_DaysOff_pic_mobile {
    width: 150px;
    height: 150px;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin-top: 15px;
    cursor: pointer;
    border: 3px solid #e4e6eb;
    align-self: center;
}


/* ============================================
   DaysOff_Calendar CONTAINER & NAVIGATION
   ============================================ */
.DaysOff_Calendar-container {
    padding: 5px;
    max-width: 700px;
    margin-top: 15px;
    margin-left: 0px;
}

.DaysOff_Calendar-nav-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    margin-top: -15px
}

.DaysOff_Calendar-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.DaysOff_Calendar-btn-today {
    padding: 5px 16px;
    font-weight: 600;
    font-size: 12px;
    color: #374151;
}

.DaysOff_Calendar-btn-nav {
    width: 25px;
    height: 25px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.DaysOff_Calendar-month-display {
    padding: 8px 16px;
    color: black;
    border-radius: 8px;
    font-size: 12px;
}

/* ============================================
   CALENDAR CONTAINER - SMALLER & LEFT ALIGNED
   ============================================ */
#calendar_DaysOff {
    width: 100%;
    max-width: 700px;
    height: auto !important;
    /*min-height: 460px !important;*/ /* Optional: set a minimum */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

/* ============================================
   REMOVE GAPS
   ============================================ */
.toastui-calendar-layout,
.toastui-calendar-panel,
.toastui-calendar-month {
    padding: 0 !important;
    margin: 0 !important;
}

.toastui-calendar-month {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.toastui-calendar-month-dayname {
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.toastui-calendar-month-daygrid {
    flex: 1 !important;
    height: 500px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================
   DAY NAMES HEADER - GRAY
   ============================================ */
.toastui-calendar-month-dayname,
#calendar_DaysOff .toastui-calendar-month-dayname,
.toastui-calendar-month .toastui-calendar-month-dayname,
div[class*="dayname"],
.toastui-calendar-day-names {
    background: #d4d4d4 !important;
    background-color: #d4d4d4 !important;
    padding: 10px 0 !important;
    height: 36px !important;
    max-height: 36px !important;
    min-height: 36px !important;
    border-bottom: none !important;
    border: none !important;
}

.toastui-calendar-month-dayname-item,
#calendar_DaysOff .toastui-calendar-month-dayname-item,
span[class*="dayname"] {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    line-height: 16px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background: transparent !important;
}

/* ============================================
   WEEK ROWS
   ============================================ */
.toastui-calendar-month-week-item {
    height: 63px;
    min-height: 63px;
    max-height: 63px;
    border-bottom: 1px solid #e5e7eb;
    overflow: visible !important;
}


/* ============================================
   DAY CELLS
   ============================================ */
.toastui-calendar-daygrid-cell {
    min-height: 63px;
    max-height: 63px;
    padding: 4px !important;
    border-right: 1px solid #e5e7eb;
    background: #ffffff;
    transition: background-color 0.2s ease;
    overflow: visible !important;
}

/* ============================================
   COMPACT MODE - APPLIED AFTER INITIALIZATION
   ============================================ */
.calendar-compact-mode .toastui-calendar-month-week-item {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
}

.calendar-compact-mode .toastui-calendar-daygrid-cell {
    min-height: 50px !important;
    max-height: 50px !important;
}

    .toastui-calendar-daygrid-cell:hover {
        background: #f9fafb;
/*        cursor: pointer;*/
    }

    .toastui-calendar-daygrid-cell:last-child {
        border-right: none;
    }

/* ============================================
   DATE NUMBERS
   ============================================ */
.toastui-calendar-template-monthDayName,
.toastui-calendar-weekday-grid-date-decorator,
.toastui-calendar-month-dayname__date {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-indent: 6px !important;
}

/* Previous/next month dates */
.toastui-calendar-month-more-view .toastui-calendar-weekday-grid-date-decorator {
    color: #d1d5db !important;
    font-weight: 400 !important;
}

/* ============================================
   TODAY HIGHLIGHT
   ============================================ */
.toastui-calendar-weekday-grid-date.toastui-calendar-weekday-grid-date-decorator {
    position: relative;
}

.toastui-calendar-month .toastui-calendar-weekday-grid-date__today {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    left: -20px;
}

    .toastui-calendar-month .toastui-calendar-weekday-grid-date__today::after {
        display: none !important;
    }
/* Subtle pulse animation */
@keyframes todayPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    }

    50% {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    }
}

.toastui-calendar-weekday-grid-date {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: -20px;
}

.toastui-calendar-grid-cell-date {
    margin-top: -20px;
}

.toastui-calendar-grid-cell-header{
    max-height: 15px;

}
/* ============================================
   EVENT BARS (CONSOLIDATED)
   ============================================ */
.toastui-calendar-weekday-event {
    margin-left: 5px !important;
    margin-right: 8px !important;
    color: rgb(255, 255, 255) !important;
    /* background-color will come from event.backgroundColor */
    border-left: none !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    height: 15px !important;
    line-height: 21px !important;
    opacity: 1 !important;
    box-shadow: 4px 4px 12px 0px rgba(117, 124, 122, 0.67) !important;
    text-indent: 10px !important;
    padding: 0 !important;
    margin-top: 0px !important;
    margin-bottom: 5px !important;
    cursor: default !important;
    border: none !important;
    pointer-events: none !important;
    transition: all 0.2s ease;
}

    .toastui-calendar-weekday-event:hover {
        opacity: 0.95 !important;
    }

.toastui-calendar-weekday-event-title {
    color: rgb(255, 255, 255) !important;
    font-weight: 400 !important;
    font-size: 10px !important;
    line-height: 16px !important;
    padding-left: 0 !important;
    cursor: default !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Disable event dots and resize handles */
.toastui-calendar-weekday-event-dot,
.toastui-calendar-weekday-event-resize-handle {
    display: none !important;
}

/* ============================================
   GRID LINES
   ============================================ */
.toastui-calendar-month-daygrid-layout {
    border: 1px solid #e5e7eb;
}

/* ============================================
   SUNDAY COLUMN (RED TEXT)
   ============================================ */


/* ============================================
   LEGEND STYLES
   ============================================ */
.DaysOff_Calendar-legend {
    margin-top: 0px;
    padding: 20px;
    position: relative;
    margin-left: 10px;
}

.DaysOff_legend_compactmode {
    zoom:72%;
}

.DaysOff_Calendar-legend-title {
    margin: 0 0 5px 0;
    font-size: 10px;
    color: #374151;
    font-weight: 700;
}

.DaysOff_Calendar-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.DaysOff_Calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.DaysOff_Calendar-legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.DaysOff_Calendar-legend-label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

/* Legend color variations */
.DaysOff_Calendar-legend-confirmed {
    background: #28a745;
}


.DaysOff_Calendar-legend-delete_request {
    background: #dc3545;
}

.DaysOff_Calendar-legend-new_request {
    background: #17a2b8;
}


.DaysOff_Calendar-legend-pending {
    background: #ffc107;
}

/* ============================================
   TODAY'S CELL BACKGROUND - LIGHT BLUE
   ============================================ */
#calendar_DaysOff .toastui-calendar-daygrid-cell:has(.DaysOff_Calendar-today) {
    background: #dbeafe !important;
}

/* ============================================
   CUSTOM TODAY STYLE
   ============================================ */
.DaysOff_Calendar-today {
    background: radial-gradient(circle, #2563eb 0%, #3b82f6 100%) !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: unset !important;
}

/* ============================================
   WEEKEND COLUMNS (SATURDAY & SUNDAY)
   ============================================ */
/* Saturday column (6th column) */
#calendar_DaysOff .toastui-calendar-month-week-item .toastui-calendar-daygrid-cell:nth-child(6) {
    background: #f3f4f6 !important;
}

    #calendar_DaysOff .toastui-calendar-month-week-item .toastui-calendar-daygrid-cell:nth-child(6) .toastui-calendar-grid-cell-date,
    #calendar_DaysOff .toastui-calendar-month-week-item .toastui-calendar-daygrid-cell:nth-child(6) .toastui-calendar-weekday-grid-date-decorator {
        color: #4b5563 !important;

    }

/* Sunday column (7th column) */
#calendar_DaysOff .toastui-calendar-month-week-item .toastui-calendar-daygrid-cell:nth-child(7),
#calendar_DaysOff .toastui-calendar-daygrid-cell:last-child {
    background: #f3f4f6 !important;

}

    /* Sunday date - normal weight and size */
    #calendar_DaysOff .toastui-calendar-month-week-item .toastui-calendar-daygrid-cell:nth-child(7) .toastui-calendar-grid-cell-date,
    #calendar_DaysOff .toastui-calendar-daygrid-cell:last-child .toastui-calendar-grid-cell-date,
    #calendar_DaysOff .toastui-calendar-month-week-item .toastui-calendar-daygrid-cell:nth-child(7) .toastui-calendar-weekday-grid-date-decorator,
    #calendar_DaysOff .toastui-calendar-daygrid-cell:last-child .toastui-calendar-weekday-grid-date-decorator {
        color: #4b5563 !important;

    }


/* Make day cells clickable */
#calendar_DaysOff .toastui-calendar-daygrid-cell {
    pointer-events: auto !important;
}

/* Events should not block cell clicks */
#calendar_DaysOff .toastui-calendar-weekday-event {
    pointer-events: none !important;
}
/* ============================================
   VIEW SWITCHER BUTTONS
   ============================================ */
.DaysOff_ViewSwitcher {
    display: inline-flex;
    gap: 0;
}

.DaysOff_ViewSwitcher-iconBtn {
    width: 40px;
    height: 30px;
    padding: 0;
    border: 1px solid #d1d5db;
    background: #f1f1f1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

    .DaysOff_ViewSwitcher-iconBtn:first-child {
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        border-right: none;
    }

    .DaysOff_ViewSwitcher-iconBtn:last-child {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .DaysOff_ViewSwitcher-iconBtn_last {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .DaysOff_ViewSwitcher-iconBtn:hover:not(.DaysOff_ViewSwitcher-iconBtn-active) {
        background: #f9fafb;
    }

.DaysOff_ViewSwitcher-iconBtn-active {
    background: white;
    color: black;
    border-color: darkgrey;
    z-index: 1;
}

.DaysOff_ViewSwitcher-iconBtn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 700px) {
    .DaysOff_ViewSwitcher-row {
        flex-direction: column;
        align-items: stretch;
    }
}





/* ============================================
   LIST VIEW WRAPPER
   ============================================ */
.DaysOff_ListView-wrapper {
    padding: 0px 0px;
    max-width: 700px;
}

/* ============================================
   CONTROLS (YEAR DROPDOWN)
   ============================================ */
.DaysOff_ListView-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    width: 700px;
    margin-top: 20px;
    z-index: 1000;
}

.DaysOff_ListView-right {
    display: flex;
    align-items: center; /* Changed from end */
    margin-right: 10px; /* Added margin-right */
}

.DaysOff_ListView-legend {
    margin-top: -20px;
    padding: 20px;
    position: relative;
    margin-left: 10px;
}

.DaysOff_ListView-legend-title {
    margin: 0 0 5px 0;
    font-size: 10px;
    color: #374151;
    font-weight: 700;
}

.DaysOff_ListView-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.DaysOff_ListView-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.DaysOff_ListView-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.DaysOff_ListView-legend-item-active .DaysOff_ListView-legend-color::after {
    content: '✓';
    color: black;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.DaysOff_ListView-legend-label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

/* Legend color variations */
.DaysOff_ListView-legend-confirmed {
    background: #28a745;
}


.DaysOff_ListView-legend-delete_request {
    background: #dc3545;
}

.DaysOff_ListView-legend-new_request {
    background: #17a2b8;
}


.DaysOff_ListView-legend-pending {
    background: #ffc107;
}

/* ============================================
   YEAR DROPDOWN
   ============================================ */
.DaysOff_ListView-yearDropdown {
    padding: 8px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: white;
    color: #374151;
    cursor: pointer;
    min-width: 100px;
    margin-top: 0px;
}

/* ============================================
   SELECT2 CUSTOM STYLING
   ============================================ */
.DaysOff_Select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
}

.DaysOff_Select2-container .select2-selection__rendered {
    line-height: 38px;
    padding-left: 16px;
    padding-right: 16px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.DaysOff_Select2-container .select2-selection__arrow {
    height: 36px;
    right: 8px;
}

.DaysOff_Select2-container:hover .select2-selection--single {
    border-color: #9ca3af;
}

.DaysOff_Select2-container.select2-container--open .select2-selection--single {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.DaysOff_Select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .DaysOff_Select2-dropdown .select2-results__option {
        padding: 10px 16px;
        font-size: 14px;
        color: #374151;
    }

    .DaysOff_Select2-dropdown .select2-results__option--highlighted {
        background: #2563eb;
        color: white;
    }

    .DaysOff_Select2-dropdown .select2-results__option--selected {
        background: #f3f4f6;
        color: #2563eb;
        font-weight: 500;
    }

/* ============================================
   LIST VIEW CONTAINER
   ============================================ */
.DaysOff_ListView-container {
    width: 700px;
    max-width: 700px;
    overflow: hidden;
    border-radius: 12px;
    margin-top: -20px;
}

.DaysOff_ListView-container_mobile {
    width: 530px;
    max-width: 530px;
/*    overflow: hidden;
    border-radius: 12px;
    margin-top: -20px;*/
    zoom: 70%;
}

/* ============================================
   DATATABLE STYLING
   ============================================ */
.DaysOff_DataTable {
    width: 100% !important;
    border-collapse: separate !important; /* ← Changed from collapse */
    border-spacing: 0 !important; /* ← Added */
    background: white;
    border: 2px solid #1f2937;
    table-layout: fixed !important;
    border-radius: 12px !important; /* ← Rounded corners */
    overflow: hidden; /* ← Clips content to rounded border */
}

    /* Header */
    .DaysOff_DataTable thead {
        background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
        border: 1px solid #dee2e6 !important;
        border-bottom: 2px solid #0e4182 !important;
    }

        .DaysOff_DataTable thead th {
            background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
            border: 1px solid #dee2e6 !important;
            border-bottom: 2px solid #0e4182 !important;
            padding: 14px 16px !important;
            text-align: left !important;
            font-weight: 600 !important;
            font-size: 14px !important;
            color: #1f2937 !important;
            white-space: nowrap;
        }

            /* First header cell - top left rounded */
            .DaysOff_DataTable thead th:first-child {
                border-top-left-radius: 10px;
            }

            /* Last header cell - top right rounded */
            .DaysOff_DataTable thead th:last-child {
                border-top-right-radius: 10px;
            }

    /* Body */
    .DaysOff_DataTable tbody {
        background: white;
    }

        .DaysOff_DataTable tbody td {
            padding: 14px 16px !important;
            font-size: 14px !important;
            color: #1f2937 !important;
            border-bottom: 1px solid #e5e7eb !important;
            border-right: none !important;
            white-space: nowrap;
        }

        .DaysOff_DataTable tbody tr {
            background: white;
        }

            .DaysOff_DataTable tbody tr:hover {
                opacity: 0.9;
            }

/* Row colors by type */
.DaysOff_DataTable-row-confirmed {
    background: #86efac !important;
}

    .DaysOff_DataTable-row-confirmed td {
        background: #86efac !important;
    }

.DaysOff_DataTable-row-delete_request {
    background: #fca5a5 !important;
}

    .DaysOff_DataTable-row-delete_request td {
        background: #fca5a5 !important;
    }

.DaysOff_DataTable-row-new_request {
    background: #67e8f9 !important;
}

    .DaysOff_DataTable-row-new_request td {
        background: #67e8f9 !important;
    }

.DaysOff_DataTable-row-pending {
    background: #fde047 !important;
}

    .DaysOff_DataTable-row-pending td {
        background: #fde047 !important;
    }

.DaysOff_DataTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.DaysOff_DataTable tbody tr:last-child td {
    border-bottom: none !important; /* Remove bottom border on last row */
}

/* ============================================
   DATATABLES WRAPPER FIXES
   ============================================ */
.DaysOff_ListView-container .dataTables_wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.DaysOff_ListView-container .dataTables_scroll {
    width: 100% !important;
    border-radius: 12px;
    overflow: hidden;
}

.DaysOff_ListView-container .dataTables_scrollHead {
    width: 100% !important;
    overflow: visible !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

    .DaysOff_ListView-container .dataTables_scrollHead table {
        width: 100% !important;
    }

.DaysOff_ListView-container .dataTables_scrollBody {
    width: 100% !important;
}

    .DaysOff_ListView-container .dataTables_scrollBody table {
        width: 100% !important;
    }

/* Remove default DataTables borders */
.DaysOff_DataTable.dataTable {
    border-collapse: collapse !important;
}

    .DaysOff_DataTable.dataTable thead th,
    .DaysOff_DataTable.dataTable thead td {
        border-bottom: 2px solid #1f2937 !important;
    }

    .DaysOff_DataTable.dataTable tbody th,
    .DaysOff_DataTable.dataTable tbody td {
        border-top: none !important;
    }

/* ============================================
   STATUS BUTTONS (BELOW TABLE)
   ============================================ */
.DaysOff_ListView-statusButtons {
    margin-top: -50px;
    padding: 20px;
    position: relative;
    margin-left: 10px;
}

.DaysOff_StatusBtn {
    padding: 10px 20px;
    border: 1px solid #1f2937;
    border-radius: 6px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.DaysOff_StatusBtn-confirmed {
    background: #86efac;
    color: #1f2937;
}

    .DaysOff_StatusBtn-confirmed:hover {
        background: #4ade80;
    }

.DaysOff_StatusBtn-new {
    background: #67e8f9;
    color: #1f2937;
}

    .DaysOff_StatusBtn-new:hover {
        background: #22d3ee;
    }

.DaysOff_StatusBtn-pending {
    background: #fde047;
    color: #1f2937;
}

    .DaysOff_StatusBtn-pending:hover {
        background: #facc15;
    }

.DaysOff_StatusBtn-delete {
    background: #fca5a5;
    color: #1f2937;
}

    .DaysOff_StatusBtn-delete:hover {
        background: #f87171;
    }

/* ============================================
   SORTING ARROWS
   ============================================ */
.DaysOff_DataTable thead th.sorting:before,
.DaysOff_DataTable thead th.sorting:after,
.DaysOff_DataTable thead th.sorting_asc:before,
.DaysOff_DataTable thead th.sorting_asc:after,
.DaysOff_DataTable thead th.sorting_desc:before,
.DaysOff_DataTable thead th.sorting_desc:after {
    color: #6b7280 !important;
}


.toastui-calendar-weekday-events {
    overflow: visible !important;
    max-height: 10px !important;
    height: 10px !important;
    margin-top:-2px;
}

/* ============================================
   VIEW SWITCHER ROW WITH NEW REQUEST BUTTON
   ============================================ */
.DaysOff_ViewSwitcher-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    padding-left: 2px;
    gap: 15px;
    max-width: 700px;
    margin-top:2px;
}

.DaysOff_ViewSwitcher {
    display: inline-flex;
    gap: 0;
}

/* ============================================
   NEW REQUEST BUTTON
   ============================================ */
.DaysOff_NewRequest-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 5px;
    background-color: var(--color_Menu_button_Active);
    color: var(--color_Global_Text_Light);
    border: none;
    border-radius: 8px;
    font-weight: 400;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
/*    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);*/
    white-space: nowrap;
    margin-top: 1px;
    margin-left: 10px;
    width:min-content
}

    .DaysOff_NewRequest-btn:hover {
        color: var(--color_Global_Text_Light);
        background-color: var(--color_Menu_button_Active_hover);
/*        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);*/
        transform: translateY(-1px);
    }

    .DaysOff_NewRequest-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    }

.DaysOff_NewRequest-icon {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

/* Responsive */
@media (max-width: 700px) {
    .DaysOff_ViewSwitcher-row {
        flex-direction: column;
        align-items: stretch;
    }

    .DaysOff_ViewSwitcher {
        width: 100%;
    }

    .DaysOff_NewRequest-btn {
        width: fit-content;
        justify-content: center;
    }
}

.toastui-calendar-weekday-event[data-ampm-adjusted="true"] {
    transition: left 0.2s ease, width 0.2s ease;
}

    /* Add visual indicator for half-day events */
    .toastui-calendar-weekday-event[data-ampm-adjusted="true"]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: rgba(255, 255, 255, 0.5);
    }

/* Start PM - shift right by 50% */
.toastui-calendar-weekday-event.event-start-pm-end-am,
.toastui-calendar-weekday-event.event-start-pm-end-pm {
    margin-left: 50% !important;
    width: 50% !important;
}

/* End AM - width only 50% */
.toastui-calendar-weekday-event.event-start-am-end-am {
    width: 50% !important;
}

/* Full day (AM to PM) - no adjustment needed */
.toastui-calendar-weekday-event.event-start-am-end-pm {
    /* Keep default width */
}

/* Visual indicators */
.toastui-calendar-weekday-event.event-start-pm-end-am::before,
.toastui-calendar-weekday-event.event-start-pm-end-pm::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.7);
}

.toastui-calendar-weekday-event.event-start-am-end-am::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   AM/PM HALF-DAY EVENT POSITIONING
   ============================================ */

/* Full day: AM start, PM end - no adjustment */
.toastui-calendar-weekday-event.event-start-am-end-pm {
    /* Default - full width */
}

/* Half day morning: AM start, AM end - width 50% */
.toastui-calendar-weekday-event.event-start-am-end-am {
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
}

/* Half day afternoon: PM start, PM end - shift right 50%, width 50% */
.toastui-calendar-weekday-event.event-start-pm-end-pm {
    margin-left: calc(50% + 2px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
}

/* Continues to next day: PM start, AM end (multi-day spanning) */
.toastui-calendar-weekday-event.event-start-pm-end-am {
    margin-left: calc(50% + 2px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
}

    /* Visual indicators for half-day events */
    .toastui-calendar-weekday-event.event-start-pm-end-pm::before,
    .toastui-calendar-weekday-event.event-start-pm-end-am::before {
        content: '';
        position: absolute;
        left: -2px;
        top: 2px;
        bottom: 2px;
        width: 3px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 2px;
    }

.toastui-calendar-weekday-event.event-start-am-end-am::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

/* Optional: Add text indicator */
.toastui-calendar-weekday-event.event-start-am-end-am .toastui-calendar-weekday-event-title::after {
    content: ' (AM)';
    font-size: 9px;
    opacity: 0.8;
    font-weight: 600;
}

.toastui-calendar-weekday-event.event-start-pm-end-pm .toastui-calendar-weekday-event-title::after {
    content: ' (PM)';
    font-size: 9px;
    opacity: 0.8;
    font-weight: 600;
}



/* ============================================
   NEW REQUEST POPUP
   ============================================ */
.DaysOff_NewRequest-popup-content {
    background: white;
    border-radius: 12px;
    width: 300px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.DaysOff_NewRequest-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: color 0.2s;
}

    .DaysOff_NewRequest-popup-close:hover {
        color: #333;
    }

.DaysOff_NewRequest-popup-header {
    padding: 25px 30px;
    border-bottom: 2px solid #e5e7eb;
    text-align: center;
}

    .DaysOff_NewRequest-popup-header h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 600;
        color: #1f2937;
    }

.DaysOff_NewRequest-popup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.DaysOff_NewRequest-field-row {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
    max-width: calc(100% - 10px) !important;
}

.DaysOff_NewRequest-label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    min-width: 100px;
    padding-top: 10px;
    text-align: left;
    flex-shrink: 0;
}

.DaysOff_NewRequest-field-row:last-child {
    flex-direction: column;
    align-items: flex-start;
}

.DaysOff_NewRequest-date-group {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.DaysOff_NewRequest-date-input {
    flex: 1;
    max-width: 120px;
    min-width: 120px;
    padding: 10px 5px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s;
}

    .DaysOff_NewRequest-date-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.DaysOff_NewRequest-ampm-select {
    width: 80px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

    .DaysOff_NewRequest-ampm-select:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.DaysOff_NewRequest-textarea {
    width:310px;
    padding: 10px 4px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
}

    .DaysOff_NewRequest-textarea:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.DaysOff_NewRequest-popup-footer {
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

.DaysOff_NewRequest-save-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

    .DaysOff_NewRequest-save-btn:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        transform: translateY(-1px);
    }

    .DaysOff_NewRequest-save-btn:active {
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 600px) {
    .DaysOff_NewRequest-popup-content {
        width: 95%;
    }

    .DaysOff_NewRequest-date-group {
        flex-direction: column;
    }

    .DaysOff_NewRequest-ampm-select {
        width: 100%;
    }

    .DaysOff_NewRequest-date-input {
        max-width: 100%;
    }
}

/* ============================================
   POPUP OVERLAY - CENTER THE POPUP
   ============================================ */
#div_generic_popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

#DaysOff_NewRequest_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#DaysOff_Overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.DaysOff_NewRequest-popup-content {
    background: white;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    animation: slideIn 0.3s ease;
}


.DaysOff_NewRequest-input-wrapper {
    flex: 1;
}

.DaysOff_NewRequest-select2 {
    width: 215px !important;
}

/* Select2 styling to match other inputs */
.DaysOff_NewRequest-popup-body .select2-container {
    width: 215px !important;
}

.DaysOff_NewRequest-popup-body .select2-container--default .select2-selection--single {
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
}

    .DaysOff_NewRequest-popup-body .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 20px;
        padding-left: 0;
        color: #374151;
        font-size: 14px;
    }

    .DaysOff_NewRequest-popup-body .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 40px;
        right: 8px;
    }

.DaysOff_NewRequest-popup-body .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.DaysOff_NewRequest-popup-body .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Select2 dropdown styling */
.select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
    color: #374151;
}

.select2-results__option--highlighted {
    background-color: #2563eb !important;
    color: white !important;
}

.select2-results__option--selected {
    background-color: #f3f4f6 !important;
    color: #2563eb !important;
}

/* ============================================
   REQUIRED FIELDS STYLING
   ============================================ */
.DaysOff_NewRequest-required {
    border: 1px solid #135f8b !important;
}

    .DaysOff_NewRequest-required:focus {
        border-color: #135f8b !important;
        box-shadow: 0 0 0 3px rgba(19, 95, 139, 0.15) !important;
    }

/* Select2 required styling */
.select2-container--default .select2-selection--single.DaysOff_NewRequest-required {
    border: 1px solid #135f8b !important;
}

.select2-container--default.select2-container--focus .select2-selection--single.DaysOff_NewRequest-required,
.select2-container--default.select2-container--open .select2-selection--single.DaysOff_NewRequest-required {
    border-color: #135f8b !important;
    box-shadow: 0 0 0 3px rgba(19, 95, 139, 0.15) !important;
}

/* ============================================
   ERROR FIELDS STYLING
   ============================================ */
.DaysOff_NewRequest-error {
    border: 1px solid #dc3545 !important;
}

    .DaysOff_NewRequest-error:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
    }

/* Select2 error styling */
.select2-container--default .select2-selection--single.DaysOff_NewRequest-error {
    border: 1px solid #dc3545 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single.DaysOff_NewRequest-error,
.select2-container--default.select2-container--open .select2-selection--single.DaysOff_NewRequest-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}


/* ============================================
   AM/PM TOGGLE BUTTONS
   ============================================ */
/* AM Button with background image */
.DaysOff_ampm-btn-am {
    background-image: url('/Images/Shift_AM.png');
    background-repeat: no-repeat;
    cursor: pointer;
    width: 100px;
    zoom: 80%;
    margin-top: 3px;
    margin-left: 2px;
    height: 42px; /* Add explicit height */
}

/* PM Button with background image */
.DaysOff_ampm-btn-pm {
    background-image: url('/Images/Shift_PM.png');
    background-repeat: no-repeat;
    cursor: pointer;
    width: 100px;
    zoom: 80%;
    margin-top: 3px;
    margin-left: 2px;
    height: 42px; /* Add explicit height */
}

.DaysOff_ampm-btn-am:hover {
    background-color: #d6eef7;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(19, 95, 139, 0.4);
}

.DaysOff_ampm-btn-pm:hover {
    background-color: #d6eef7;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(19, 95, 139, 0.4);
}



/* Single day half-day events */
.toastui-calendar-weekday-event.half-day-start-pm {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.toastui-calendar-weekday-event.half-day-end-am {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Both on same day = invisible */
.toastui-calendar-weekday-event.half-day-start-pm.half-day-end-am {
    display: none !important;
}

.toastui-calendar-weekday-event {
    position: relative !important;
}

.half-day-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.half-day-overlay-start {
    left: 0;
}

.half-day-overlay-end {
    right: 0;
}

#table_DaysOff_ListView tbody tr {
    cursor: pointer;
}

    #table_DaysOff_ListView tbody tr:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
    }


/* Active state (default) */
.DaysOff_StatusBtn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.DaysOff_StatusBtn-active {
    font-weight: 600;
    opacity: 1;
}

/* Inactive state */
.DaysOff_StatusBtn:not(.DaysOff_StatusBtn-active) {
    font-weight: 400;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.1) !important;
    filter: grayscale(50%);
}

/* Mobile-specific styles */
.DaysOff_Mobile .DaysOff_NewRequest-date-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
}

.DaysOff_Mobile .DaysOff_NewRequest-date-input {
    max-width: 100%;
    width: 100%;
}

.DaysOff_Mobile .DaysOff_NewRequest-field-row {
    flex-direction: column;
    gap: 2px;
}

.DaysOff_Mobile .DaysOff_NewRequest-label {
    padding-top: 0;
    min-width: auto;
}

/*.DaysOff_Mobile .DaysOff_NewRequest-input-wrapper {
    width: 100%;
}*/
/* ============================================
   My Team View WRAPPER
   ============================================ */
.DaysOff_MyDelegationsList-wrapper {
    padding: 8px 0px;
    max-width: 700px;
}

/* ============================================
   CONTROLS (YEAR DROPDOWN)
   ============================================ */
.DaysOff_MyDelegationsList-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0px;
    width: 690px;
    margin-top: -35px;
    z-index: 1000;
    margin-left: 0px;
}

.DaysOff_MyDelegationsList-controls_mobile {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0px;
    width: 520px;
    margin-top: -35px;
    z-index: 1000;
    margin-left: 0px;
    zoom: 72%
}

.DaysOff_MyDelegationsList-right {
    display: flex;
    align-items: center;
}


/* ============================================
   My Team View CONTAINER
   ============================================ */
.DaysOff_MyDelegationsList-container {
/*    width: 700px;
    max-width: 700px;*/
    overflow: hidden;
    border-radius: 12px;
    margin-top: 0px;
}

.DaysOff_MyDelegationsList-container_mobile {
    width: 530px;
    max-width: 530px;
    /*    overflow: hidden;
    border-radius: 12px;
    margin-top: -20px;*/
    zoom: 70%;
}


/* ============================================
   DATATABLES WRAPPER FIXES
   ============================================ */
.DaysOff_MyDelegationsList-container .dataTables_wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.DaysOff_MyDelegationsList-container .dataTables_scroll {
    width: 100% !important;
    border-radius: 12px;
    overflow: hidden;
}

.DaysOff_MyDelegationsList-container .dataTables_scrollHead {
    width: 100% !important;
    overflow: visible !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

    .DaysOff_MyDelegationsList-container .dataTables_scrollHead table {
        width: 100% !important;
    }

.DaysOff_MyDelegationsList-container .dataTables_scrollBody {
    width: 100% !important;
}

    .DaysOff_MyDelegationsList-container .dataTables_scrollBody table {
        width: 100% !important;
    }

/* Remove default DataTables borders */
.DaysOff_MyDelegations_DataTable.dataTable {
    border-collapse: collapse !important;
}

    .DaysOff_MyDelegations_DataTable.dataTable thead th,
    .DaysOff_MyDelegations_DataTable.dataTable thead td {
        border-bottom: 2px solid #1f2937 !important;
    }

    .DaysOff_MyDelegations_DataTable.dataTable tbody th,
    .DaysOff_MyDelegations_DataTable.dataTable tbody td {
        border-top: none !important;
    }

/* ============================================
   STATUS BUTTONS (BELOW TABLE)
   ============================================ */
.DaysOff_MyDelegationsList-statusButtons {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    flex-wrap: wrap;
    margin-right:10px;
}

.DaysOff_StatusBtn {
    padding: 10px 20px;
    border: 1px solid #1f2937;
    border-radius: 6px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.DaysOff_StatusBtn-confirmed {
    background: #86efac;
    color: #1f2937;
}

    .DaysOff_StatusBtn-confirmed:hover {
        background: #4ade80;
    }

.DaysOff_StatusBtn-new {
    background: #67e8f9;
    color: #1f2937;
}

    .DaysOff_StatusBtn-new:hover {
        background: #22d3ee;
    }

.DaysOff_StatusBtn-pending {
    background: #fde047;
    color: #1f2937;
}

    .DaysOff_StatusBtn-pending:hover {
        background: #facc15;
    }

.DaysOff_StatusBtn-delete {
    background: #fca5a5;
    color: #1f2937;
}

    .DaysOff_StatusBtn-delete:hover {
        background: #f87171;
    }




.DaysOff_MyDelegations-field-row {
    margin: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
}

.DaysOff_MyDelegations-label {
    font-weight: 500;
    color: #374151;
    font-size: 16px;
    min-width: 100px;
    padding-top: 10px;
    text-align: left;
    flex-shrink: 0;
}

.DaysOff_MyDelegations-date-input {
    flex: 1;
    max-width: 220px;
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s;
}

    .DaysOff_MyDelegations-date-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

#table_DaysOff_MyDelegationsList tbody tr {
    cursor: pointer;
}
    #table_DaysOff_MyDelegationsList tbody tr:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
    }

/* ListView Status Buttons */
.DaysOff_MyDelegations_StatusBtn {
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

DaysOff_MyDelegations_StatusBtn.DaysOff_MyDelegations_StatusBtn-active {
    font-weight: 500;
    opacity: 1;
}

.DaysOff_MyDelegations_StatusBtn:not(.DaysOff_MyDelegations_StatusBtn-active) {
    font-weight: 400;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.1) !important;
    filter: grayscale(50%);
}

/* MyDelegations Status Buttons */
.DaysOff_MyDelegations_StatusBtn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.DaysOff_MyDelegations_StatusBtn-active {
    font-weight: 500;
    opacity: 1;
}

.DaysOff_MyDelegations_StatusBtn:not(.DaysOff_MyDelegations_StatusBtn-active) {
    font-weight: 400;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.1) !important;
    filter: grayscale(50%);
}

.DaysOff_MyDelegations-field-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.DaysOff_MyDelegations-label {
    min-width: 120px;
    text-align: right;
}

.DaysOff_MyDelegations-date-input {
    flex: 1;
}

.DaysOff_MyDelegations_Dropdown-input-wrapper{
    margin-left:0px;
}

.DaysOff_MyDelegations-legend {
    margin-top: 0px;
    padding: 20px;
    position: relative;
    margin-left: 10px;
}

.DaysOff_MyDelegations-legend-title {
    margin: 0 0 5px 0;
    font-size: 10px;
    color: #374151;
    font-weight: 700;
}

.DaysOff_MyDelegations-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.DaysOff_MyDelegations-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.DaysOff_MyDelegations-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.DaysOff_MyDelegations-legend-item-active .DaysOff_MyDelegations-legend-color::after {
    content: '✓';
    color: black;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.DaysOff_MyDelegations-legend-label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

/* Legend color variations */
.DaysOff_MyDelegations-legend-confirmed {
    background: #28a745;
}


.DaysOff_MyDelegations-legend-delete_request {
    background: #dc3545;
}

.DaysOff_MyDelegations-legend-new_request {
    background: #17a2b8;
}


.DaysOff_MyDelegations-legend-pending {
    background: #ffc107;
}

/* ============================================
   My Team View WRAPPER
   ============================================ */
.DaysOff_MyTeamList-wrapper {
    padding: 0px 0px;
    max-width: 900px;
}

/* ============================================
   CONTROLS (YEAR DROPDOWN)
   ============================================ */
.DaysOff_MyTeamList-controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0px;
    width: 690px;
    margin-top: 0px;
    z-index: 1000;
}

.DaysOff_MyTeamList-right {
    display: flex;
    align-items: center;
}


/* ============================================
   My Team View CONTAINER
   ============================================ */
.DaysOff_MyTeamList-container {
/*    width: 900px;
    max-width: 900px;*/
    overflow: hidden;
    border-radius: 12px;
    margin-top: -20px;
}

.DaysOff_MyTeamList-container_mobile {
    width: 430px;
    max-width: 430px;
    /*    overflow: hidden;
    border-radius: 12px;
    margin-top: -20px;*/
    zoom: 70%;
}

/* ============================================
   DATATABLES WRAPPER FIXES
   ============================================ */
.DaysOff_MyTeamList-container .dataTables_wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.DaysOff_MyTeamList-container .dataTables_scroll {
    width: 100% !important;
    border-radius: 12px;
    overflow: hidden;
}

.DaysOff_MyTeamList-container .dataTables_scrollHead {
    width: 100% !important;
    overflow: visible !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

    .DaysOff_MyTeamList-container .dataTables_scrollHead table {
        width: 100% !important;
    }

.DaysOff_MyTeamList-container .dataTables_scrollBody {
    width: 100% !important;
}

    .DaysOff_MyTeamList-container .dataTables_scrollBody table {
        width: 100% !important;
    }

/* Remove default DataTables borders */
.DaysOff_MyTeam_DataTable.dataTable {
    border-collapse: collapse !important;
}

    .DaysOff_MyTeam_DataTable.dataTable thead th,
    .DaysOff_MyTeam_DataTable.dataTable thead td {
        border-bottom: 2px solid #1f2937 !important;
    }

    .DaysOff_MyTeam_DataTable.dataTable tbody th,
    .DaysOff_MyTeam_DataTable.dataTable tbody td {
        border-top: none !important;
    }

/* ============================================
   STATUS BUTTONS (BELOW TABLE)
   ============================================ */
.DaysOff_MyTeamList-statusButtons {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    flex-wrap: wrap;
    margin-left:20px;
}

.DaysOff_StatusBtn {
    padding: 10px 20px;
    border: 1px solid #1f2937;
    border-radius: 6px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.DaysOff_StatusBtn-confirmed {
    background: #86efac;
    color: #1f2937;
}

    .DaysOff_StatusBtn-confirmed:hover {
        background: #4ade80;
    }

.DaysOff_StatusBtn-new {
    background: #67e8f9;
    color: #1f2937;
}

    .DaysOff_StatusBtn-new:hover {
        background: #22d3ee;
    }

.DaysOff_StatusBtn-pending {
    background: #fde047;
    color: #1f2937;
}

    .DaysOff_StatusBtn-pending:hover {
        background: #facc15;
    }

.DaysOff_StatusBtn-delete {
    background: #fca5a5;
    color: #1f2937;
}

    .DaysOff_StatusBtn-delete:hover {
        background: #f87171;
    }


.DaysOff_MyTeam-legend {
    margin-top: 0px;
    padding: 20px;
    position: relative;
    margin-left: 10px;
}

.DaysOff_MyTeam-legend-title {
    margin: 0 0 5px 0;
    font-size: 10px;
    color: #374151;
    font-weight: 700;
}

.DaysOff_MyTeam-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.DaysOff_MyTeam-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.DaysOff_MyTeam-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.DaysOff_MyTeam-legend-item-active .DaysOff_MyTeam-legend-color::after {
    content: '✓';
    color: black;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.DaysOff_MyTeam-legend-label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

/* Legend color variations */
.DaysOff_MyTeam-legend-confirmed {
    background: #28a745;
}


.DaysOff_MyTeam-legend-delete_request {
    background: #dc3545;
}

.DaysOff_MyTeam-legend-new_request {
    background: #17a2b8;
}


.DaysOff_MyTeam-legend-pending {
    background: #ffc107;
}






.DaysOff_MyTeam-field-row {
    margin: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
}

.DaysOff_MyTeam-label {
    font-weight: 500;
    color: #374151;
    font-size: 16px;
    min-width: 100px;
    padding-top: 10px;
    text-align: left;
    flex-shrink: 0;
}

.DaysOff_MyTeam-date-input {
    flex: 1;
    max-width: 180px;
    min-width: 180px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #374151;
    transition: border-color 0.2s;
}

    .DaysOff_MyTeam-date-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

#table_DaysOff_MyTeamList tbody tr {
    cursor: pointer;
}
    #table_DaysOff_MyTeamList tbody tr:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
    }

/* ListView Status Buttons */
.DaysOff_MyTeam_StatusBtn {
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

DaysOff_MyTeam_StatusBtn.DaysOff_MyTeam_StatusBtn-active {
    font-weight: 500;
    opacity: 1;
}

.DaysOff_MyTeam_StatusBtn:not(.DaysOff_MyTeam_StatusBtn-active) {
    font-weight: 400;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.1) !important;
    filter: grayscale(50%);
}

/* MyTeam Status Buttons */
.DaysOff_MyTeam_StatusBtn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.DaysOff_MyTeam_StatusBtn-active {
    font-weight: 500;
    opacity: 1;
}

.DaysOff_MyTeam_StatusBtn:not(.DaysOff_MyTeam_StatusBtn-active) {
    font-weight: 400;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.1) !important;
    filter: grayscale(50%);
}